Color Reference · Midnight Slate

#29253F

oklch(28.2% 0.047 290)

HEX
#29253F
OKLCH
oklch(28.2% 0.047 290)
RGB
rgb(41, 37, 63)
HSL
hsl(249deg 26% 20%)
Relative Luminance
Y = 0.0215

Using #29253F as Text Foreground

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

Using #29253F as Button / Surface Fill

White ink (#FFFFFF) on #29253F
Contrast ratio 14.68:1
AAA
Dark ink (#0F172A) on #29253F
Contrast ratio 1.22:1
Fail

Recommended accessible ink on #29253F: #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 #29253F