Color Reference · Deep Navy Slate

#172E41

oklch(29.2% 0.045 245)

HEX
#172E41
OKLCH
oklch(29.2% 0.045 245)
RGB
rgb(23, 46, 65)
HSL
hsl(207deg 48% 17%)
Relative Luminance
Y = 0.0252

Using #172E41 as Text Foreground

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

Using #172E41 as Button / Surface Fill

White ink (#FFFFFF) on #172E41
Contrast ratio 13.97:1
AAA
Dark ink (#0F172A) on #172E41
Contrast ratio 1.28:1
Fail

Recommended accessible ink on #172E41: #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 #172E41