Color Reference · Midnight Slate
#21193E
oklch(24.5% 0.068 290)
HEX
#21193E
OKLCH
oklch(24.5% 0.068 290)
RGB
rgb(33, 25, 62)
HSL
hsl(253deg 43% 17%)
Relative Luminance
Y = 0.0137
Using #21193E as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.49:1
Sample text on Slate (#0F172A)
Contrast ratio 1.08:1
Using #21193E as Button / Surface Fill
White ink (#FFFFFF) on #21193E
Contrast ratio 16.49:1
Dark ink (#0F172A) on #21193E
Contrast ratio 1.08:1
Recommended accessible ink on #21193E: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.