Color Reference · Midnight Slate

#29273E

oklch(28.6% 0.042 287)

HEX
#29273E
OKLCH
oklch(28.6% 0.042 287)
RGB
rgb(41, 39, 62)
HSL
hsl(245deg 23% 20%)
Relative Luminance
Y = 0.0227

Using #29273E as Text Foreground

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

Using #29273E as Button / Surface Fill

White ink (#FFFFFF) on #29273E
Contrast ratio 14.44:1
AAA
Dark ink (#0F172A) on #29273E
Contrast ratio 1.24:1
Fail

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