Color Reference · Midnight Slate
#24253F
oklch(27.7% 0.048 281)
HEX
#24253F
OKLCH
oklch(27.7% 0.048 281)
RGB
rgb(36, 37, 63)
HSL
hsl(238deg 27% 19%)
Relative Luminance
Y = 0.0206
Using #24253F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.88:1
Sample text on Slate (#0F172A)
Contrast ratio 1.2:1
Using #24253F as Button / Surface Fill
White ink (#FFFFFF) on #24253F
Contrast ratio 14.88:1
Dark ink (#0F172A) on #24253F
Contrast ratio 1.2:1
Recommended accessible ink on #24253F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.