Color Reference · Deep Navy Slate

#312B41

oklch(30.6% 0.04 297)

HEX
#312B41
OKLCH
oklch(30.6% 0.04 297)
RGB
rgb(49, 43, 65)
HSL
hsl(256deg 20% 21%)
Relative Luminance
Y = 0.0276

Using #312B41 as Text Foreground

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

Using #312B41 as Button / Surface Fill

White ink (#FFFFFF) on #312B41
Contrast ratio 13.53:1
AAA
Dark ink (#0F172A) on #312B41
Contrast ratio 1.32:1
Fail

Recommended accessible ink on #312B41: #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 #312B41