Color Reference · Midnight Slate
#22172F
oklch(23.1% 0.047 304)
HEX
#22172F
OKLCH
oklch(23.1% 0.047 304)
RGB
rgb(34, 23, 47)
HSL
hsl(268deg 34% 14%)
Relative Luminance
Y = 0.0116
Using #22172F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.05:1
Sample text on Slate (#0F172A)
Contrast ratio 1.05:1
Using #22172F as Button / Surface Fill
White ink (#FFFFFF) on #22172F
Contrast ratio 17.05:1
Dark ink (#0F172A) on #22172F
Contrast ratio 1.05:1
Recommended accessible ink on #22172F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.