Color Reference · Midnight Slate

#22243E

oklch(27.2% 0.048 279)

HEX
#22243E
OKLCH
oklch(27.2% 0.048 279)
RGB
rgb(34, 36, 62)
HSL
hsl(236deg 29% 19%)
Relative Luminance
Y = 0.0195

Using #22243E as Text Foreground

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

Using #22243E as Button / Surface Fill

White ink (#FFFFFF) on #22243E
Contrast ratio 15.11:1
AAA
Dark ink (#0F172A) on #22243E
Contrast ratio 1.18:1
Fail

Recommended accessible ink on #22243E: #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 #22243E