Color Reference · Deep Navy Slate

#2A2F3F

oklch(30.7% 0.03 271)

HEX
#2A2F3F
OKLCH
oklch(30.7% 0.03 271)
RGB
rgb(42, 47, 63)
HSL
hsl(226deg 20% 21%)
Relative Luminance
Y = 0.0288

Using #2A2F3F as Text Foreground

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

Using #2A2F3F as Button / Surface Fill

White ink (#FFFFFF) on #2A2F3F
Contrast ratio 13.32:1
AAA
Dark ink (#0F172A) on #2A2F3F
Contrast ratio 1.34:1
Fail

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