Color Reference · Midnight Slate
#201831
oklch(23.2% 0.048 297)
HEX
#201831
OKLCH
oklch(23.2% 0.048 297)
RGB
rgb(32, 24, 49)
HSL
hsl(259deg 34% 14%)
Relative Luminance
Y = 0.0118
Using #201831 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.98:1
Sample text on Slate (#0F172A)
Contrast ratio 1.05:1
Using #201831 as Button / Surface Fill
White ink (#FFFFFF) on #201831
Contrast ratio 16.98:1
Dark ink (#0F172A) on #201831
Contrast ratio 1.05:1
Recommended accessible ink on #201831: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.