Color Reference · Midnight Slate
#24172F
oklch(23.4% 0.048 308)
HEX
#24172F
OKLCH
oklch(23.4% 0.048 308)
RGB
rgb(36, 23, 47)
HSL
hsl(273deg 34% 14%)
Relative Luminance
Y = 0.0119
Using #24172F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.95:1
Sample text on Slate (#0F172A)
Contrast ratio 1.05:1
Using #24172F as Button / Surface Fill
White ink (#FFFFFF) on #24172F
Contrast ratio 16.95:1
Dark ink (#0F172A) on #24172F
Contrast ratio 1.05:1
Recommended accessible ink on #24172F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.