Color Reference · Midnight Slate
#21162E
oklch(22.7% 0.047 304)
HEX
#21162E
OKLCH
oklch(22.7% 0.047 304)
RGB
rgb(33, 22, 46)
HSL
hsl(268deg 35% 13%)
Relative Luminance
Y = 0.0109
Using #21162E as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.23:1
Sample text on Slate (#0F172A)
Contrast ratio 1.04:1
Using #21162E as Button / Surface Fill
White ink (#FFFFFF) on #21162E
Contrast ratio 17.23:1
Dark ink (#0F172A) on #21162E
Contrast ratio 1.04:1
Recommended accessible ink on #21162E: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.