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