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