Color Reference · Midnight Slate
#17172E
oklch(21.8% 0.045 282)
HEX
#17172E
OKLCH
oklch(21.8% 0.045 282)
RGB
rgb(23, 23, 46)
HSL
hsl(240deg 33% 14%)
Relative Luminance
Y = 0.0099
Using #17172E as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.52:1
Sample text on Slate (#0F172A)
Contrast ratio 1.02:1
Using #17172E as Button / Surface Fill
White ink (#FFFFFF) on #17172E
Contrast ratio 17.52:1
Dark ink (#0F172A) on #17172E
Contrast ratio 1.02:1
Recommended accessible ink on #17172E: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.