Color Reference · Midnight Slate

#29172E

oklch(24% 0.049 319)

HEX
#29172E
OKLCH
oklch(24% 0.049 319)
RGB
rgb(41, 23, 46)
HSL
hsl(287deg 33% 14%)
Relative Luminance
Y = 0.0128

Using #29172E as Text Foreground

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

Using #29172E as Button / Surface Fill

White ink (#FFFFFF) on #29172E
Contrast ratio 16.72:1
AAA
Dark ink (#0F172A) on #29172E
Contrast ratio 1.07:1
Fail

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