Color Reference · Midnight Slate
#202031
oklch(25.2% 0.032 284)
HEX
#202031
OKLCH
oklch(25.2% 0.032 284)
RGB
rgb(32, 32, 49)
HSL
hsl(240deg 21% 16%)
Relative Luminance
Y = 0.0156
Using #202031 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16:1
Sample text on Slate (#0F172A)
Contrast ratio 1.12:1
Using #202031 as Button / Surface Fill
White ink (#FFFFFF) on #202031
Contrast ratio 16:1
Dark ink (#0F172A) on #202031
Contrast ratio 1.12:1
Recommended accessible ink on #202031: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.