Color Reference · Midnight Slate
#20172F
oklch(22.8% 0.047 300)
HEX
#20172F
OKLCH
oklch(22.8% 0.047 300)
RGB
rgb(32, 23, 47)
HSL
hsl(263deg 34% 14%)
Relative Luminance
Y = 0.0113
Using #20172F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.14:1
Sample text on Slate (#0F172A)
Contrast ratio 1.04:1
Using #20172F as Button / Surface Fill
White ink (#FFFFFF) on #20172F
Contrast ratio 17.14:1
Dark ink (#0F172A) on #20172F
Contrast ratio 1.04:1
Recommended accessible ink on #20172F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.