Color Reference · Midnight Slate

#30122A

oklch(23.9% 0.061 336)

HEX
#30122A
OKLCH
oklch(23.9% 0.061 336)
RGB
rgb(48, 18, 42)
HSL
hsl(312deg 45% 13%)
Relative Luminance
Y = 0.0123

Using #30122A as Text Foreground

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

Using #30122A as Button / Surface Fill

White ink (#FFFFFF) on #30122A
Contrast ratio 16.86:1
AAA
Dark ink (#0F172A) on #30122A
Contrast ratio 1.06:1
Fail

Recommended accessible ink on #30122A: #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 #30122A