Color Reference · Midnight Slate

#150D1C

oklch(17.8% 0.032 308)

HEX
#150D1C
OKLCH
oklch(17.8% 0.032 308)
RGB
rgb(21, 13, 28)
HSL
hsl(272deg 37% 8%)
Relative Luminance
Y = 0.0053

Using #150D1C as Text Foreground

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

Using #150D1C as Button / Surface Fill

White ink (#FFFFFF) on #150D1C
Contrast ratio 18.98:1
AAA
Dark ink (#0F172A) on #150D1C
Contrast ratio 1.06:1
Fail

Recommended accessible ink on #150D1C: #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 #150D1C