Color Reference · Midnight Slate
#201828
oklch(22.6% 0.032 307)
HEX
#201828
OKLCH
oklch(22.6% 0.032 307)
RGB
rgb(32, 24, 40)
HSL
hsl(270deg 25% 13%)
Relative Luminance
Y = 0.0111
Using #201828 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.18:1
Sample text on Slate (#0F172A)
Contrast ratio 1.04:1
Using #201828 as Button / Surface Fill
White ink (#FFFFFF) on #201828
Contrast ratio 17.18:1
Dark ink (#0F172A) on #201828
Contrast ratio 1.04:1
Recommended accessible ink on #201828: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.