Color Reference · Deep Navy Slate

#152F40

oklch(29.3% 0.045 239)

HEX
#152F40
OKLCH
oklch(29.3% 0.045 239)
RGB
rgb(21, 47, 64)
HSL
hsl(204deg 51% 17%)
Relative Luminance
Y = 0.0256

Using #152F40 as Text Foreground

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

Using #152F40 as Button / Surface Fill

White ink (#FFFFFF) on #152F40
Contrast ratio 13.88:1
AAA
Dark ink (#0F172A) on #152F40
Contrast ratio 1.29:1
Fail

Recommended accessible ink on #152F40: #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 #152F40