Color Reference · Midnight Slate
#21244B
oklch(28% 0.071 277)
HEX
#21244B
OKLCH
oklch(28% 0.071 277)
RGB
rgb(33, 36, 75)
HSL
hsl(236deg 39% 21%)
Relative Luminance
Y = 0.0209
Using #21244B as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.8:1
Sample text on Slate (#0F172A)
Contrast ratio 1.21:1
Using #21244B as Button / Surface Fill
White ink (#FFFFFF) on #21244B
Contrast ratio 14.8:1
Dark ink (#0F172A) on #21244B
Contrast ratio 1.21:1
Recommended accessible ink on #21244B: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.