Color Reference · Midnight Slate

#150F2C

oklch(19.5% 0.056 290)

HEX
#150F2C
OKLCH
oklch(19.5% 0.056 290)
RGB
rgb(21, 15, 44)
HSL
hsl(252deg 49% 12%)
Relative Luminance
Y = 0.0068

Using #150F2C as Text Foreground

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

Using #150F2C as Button / Surface Fill

White ink (#FFFFFF) on #150F2C
Contrast ratio 18.48:1
AAA
Dark ink (#0F172A) on #150F2C
Contrast ratio 1.03:1
Fail

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