Color Reference · Midnight Slate
#201229
oklch(21.3% 0.048 311)
HEX
#201229
OKLCH
oklch(21.3% 0.048 311)
RGB
rgb(32, 18, 41)
HSL
hsl(277deg 39% 12%)
Relative Luminance
Y = 0.009
Using #201229 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.8:1
Sample text on Slate (#0F172A)
Contrast ratio 1:1
Using #201229 as Button / Surface Fill
White ink (#FFFFFF) on #201229
Contrast ratio 17.8:1
Dark ink (#0F172A) on #201229
Contrast ratio 1:1
Recommended accessible ink on #201229: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.