Color Reference · Midnight Slate
#242542
oklch(27.9% 0.053 281)
HEX
#242542
OKLCH
oklch(27.9% 0.053 281)
RGB
rgb(36, 37, 66)
HSL
hsl(238deg 29% 20%)
Relative Luminance
Y = 0.0209
Using #242542 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.81:1
Sample text on Slate (#0F172A)
Contrast ratio 1.21:1
Using #242542 as Button / Surface Fill
White ink (#FFFFFF) on #242542
Contrast ratio 14.81:1
Dark ink (#0F172A) on #242542
Contrast ratio 1.21:1
Recommended accessible ink on #242542: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.