Color Reference · Midnight Slate
#20172B
oklch(22.6% 0.04 304)
HEX
#20172B
OKLCH
oklch(22.6% 0.04 304)
RGB
rgb(32, 23, 43)
HSL
hsl(267deg 30% 13%)
Relative Luminance
Y = 0.0109
Using #20172B as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.23:1
Sample text on Slate (#0F172A)
Contrast ratio 1.04:1
Using #20172B as Button / Surface Fill
White ink (#FFFFFF) on #20172B
Contrast ratio 17.23:1
Dark ink (#0F172A) on #20172B
Contrast ratio 1.04:1
Recommended accessible ink on #20172B: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.