Color Reference · Midnight Slate

#221632

oklch(23.1% 0.054 302)

HEX
#221632
OKLCH
oklch(23.1% 0.054 302)
RGB
rgb(34, 22, 50)
HSL
hsl(266deg 39% 14%)
Relative Luminance
Y = 0.0114

Using #221632 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 17.09:1
AAA
Sample text on Slate (#0F172A)
Contrast ratio 1.04:1
Fail

Using #221632 as Button / Surface Fill

White ink (#FFFFFF) on #221632
Contrast ratio 17.09:1
AAA
Dark ink (#0F172A) on #221632
Contrast ratio 1.04:1
Fail

Recommended accessible ink on #221632: #FFFFFF.

OKLCH Tonal Scale (50–950)

Click any shade step to inspect its conversions and contrast profile.

Export Tailwind CSS v4 Scale →

OKLCH Color Harmonies from #221632