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