Color Reference · Midnight Slate
#20172A
oklch(22.5% 0.038 305)
HEX
#20172A
OKLCH
oklch(22.5% 0.038 305)
RGB
rgb(32, 23, 42)
HSL
hsl(268deg 29% 13%)
Relative Luminance
Y = 0.0109
Using #20172A as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.25:1
Sample text on Slate (#0F172A)
Contrast ratio 1.03:1
Using #20172A as Button / Surface Fill
White ink (#FFFFFF) on #20172A
Contrast ratio 17.25:1
Dark ink (#0F172A) on #20172A
Contrast ratio 1.03:1
Recommended accessible ink on #20172A: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.