Color Reference · Midnight Slate

#2D0F2B

oklch(22.9% 0.066 330)

HEX
#2D0F2B
OKLCH
oklch(22.9% 0.066 330)
RGB
rgb(45, 15, 43)
HSL
hsl(304deg 50% 12%)
Relative Luminance
Y = 0.0107

Using #2D0F2B as Text Foreground

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

Using #2D0F2B as Button / Surface Fill

White ink (#FFFFFF) on #2D0F2B
Contrast ratio 17.29:1
AAA
Dark ink (#0F172A) on #2D0F2B
Contrast ratio 1.03:1
Fail

Recommended accessible ink on #2D0F2B: #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 #2D0F2B