Color Reference · Midnight Slate
#24243A
oklch(27.1% 0.041 283)
HEX
#24243A
OKLCH
oklch(27.1% 0.041 283)
RGB
rgb(36, 36, 58)
HSL
hsl(240deg 23% 18%)
Relative Luminance
Y = 0.0194
Using #24243A as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.12:1
Sample text on Slate (#0F172A)
Contrast ratio 1.18:1
Using #24243A as Button / Surface Fill
White ink (#FFFFFF) on #24243A
Contrast ratio 15.12:1
Dark ink (#0F172A) on #24243A
Contrast ratio 1.18:1
Recommended accessible ink on #24243A: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.