Color Reference · Midnight Slate
#211528
oklch(22.1% 0.04 312)
HEX
#211528
OKLCH
oklch(22.1% 0.04 312)
RGB
rgb(33, 21, 40)
HSL
hsl(278deg 31% 12%)
Relative Luminance
Y = 0.0101
Using #211528 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.46:1
Sample text on Slate (#0F172A)
Contrast ratio 1.02:1
Using #211528 as Button / Surface Fill
White ink (#FFFFFF) on #211528
Contrast ratio 17.46:1
Dark ink (#0F172A) on #211528
Contrast ratio 1.02:1
Recommended accessible ink on #211528: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.