Color Reference · Onyx Shadow

#08171F

oklch(19.5% 0.026 233)

HEX
#08171F
OKLCH
oklch(19.5% 0.026 233)
RGB
rgb(8, 23, 31)
HSL
hsl(201deg 59% 8%)
Relative Luminance
Y = 0.0076

Using #08171F as Text Foreground

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

Using #08171F as Button / Surface Fill

White ink (#FFFFFF) on #08171F
Contrast ratio 18.22:1
AAA
Dark ink (#0F172A) on #08171F
Contrast ratio 1.02:1
Fail

Recommended accessible ink on #08171F: #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 #08171F