Color Reference · Midnight Slate
#212340
oklch(27% 0.054 279)
HEX
#212340
OKLCH
oklch(27% 0.054 279)
RGB
rgb(33, 35, 64)
HSL
hsl(236deg 32% 19%)
Relative Luminance
Y = 0.019
Using #212340 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.23:1
Sample text on Slate (#0F172A)
Contrast ratio 1.17:1
Using #212340 as Button / Surface Fill
White ink (#FFFFFF) on #212340
Contrast ratio 15.23:1
Dark ink (#0F172A) on #212340
Contrast ratio 1.17:1
Recommended accessible ink on #212340: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.