Color Reference · Midnight Slate

#34293E

oklch(30.3% 0.04 308)

HEX
#34293E
OKLCH
oklch(30.3% 0.04 308)
RGB
rgb(52, 41, 62)
HSL
hsl(271deg 20% 20%)
Relative Luminance
Y = 0.0266

Using #34293E as Text Foreground

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

Using #34293E as Button / Surface Fill

White ink (#FFFFFF) on #34293E
Contrast ratio 13.7:1
AAA
Dark ink (#0F172A) on #34293E
Contrast ratio 1.3:1
Fail

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