Color Reference · Midnight Slate
#21152F
oklch(22.5% 0.051 304)
HEX
#21152F
OKLCH
oklch(22.5% 0.051 304)
RGB
rgb(33, 21, 47)
HSL
hsl(268deg 38% 13%)
Relative Luminance
Y = 0.0106
Using #21152F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.31:1
Sample text on Slate (#0F172A)
Contrast ratio 1.03:1
Using #21152F as Button / Surface Fill
White ink (#FFFFFF) on #21152F
Contrast ratio 17.31:1
Dark ink (#0F172A) on #21152F
Contrast ratio 1.03:1
Recommended accessible ink on #21152F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.