Color Reference · Midnight Slate
#222546
oklch(28% 0.06 278)
HEX
#222546
OKLCH
oklch(28% 0.06 278)
RGB
rgb(34, 37, 70)
HSL
hsl(235deg 35% 20%)
Relative Luminance
Y = 0.0211
Using #222546 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.78:1
Sample text on Slate (#0F172A)
Contrast ratio 1.21:1
Using #222546 as Button / Surface Fill
White ink (#FFFFFF) on #222546
Contrast ratio 14.78:1
Dark ink (#0F172A) on #222546
Contrast ratio 1.21:1
Recommended accessible ink on #222546: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.