Color Reference · Onyx Shadow

#171E27

oklch(23.2% 0.02 255)

HEX
#171E27
OKLCH
oklch(23.2% 0.02 255)
RGB
rgb(23, 30, 39)
HSL
hsl(214deg 26% 12%)
Relative Luminance
Y = 0.0126

Using #171E27 as Text Foreground

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

Using #171E27 as Button / Surface Fill

White ink (#FFFFFF) on #171E27
Contrast ratio 16.78:1
AAA
Dark ink (#0F172A) on #171E27
Contrast ratio 1.06:1
Fail

Recommended accessible ink on #171E27: #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 #171E27