Color Reference · Midnight Slate
#212446
oklch(27.6% 0.062 278)
HEX
#212446
OKLCH
oklch(27.6% 0.062 278)
RGB
rgb(33, 36, 70)
HSL
hsl(235deg 36% 20%)
Relative Luminance
Y = 0.0203
Using #212446 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.94:1
Sample text on Slate (#0F172A)
Contrast ratio 1.19:1
Using #212446 as Button / Surface Fill
White ink (#FFFFFF) on #212446
Contrast ratio 14.94:1
Dark ink (#0F172A) on #212446
Contrast ratio 1.19:1
Recommended accessible ink on #212446: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.