Color Reference · Onyx Shadow

#08121B

oklch(17.7% 0.024 246)

HEX
#08121B
OKLCH
oklch(17.7% 0.024 246)
RGB
rgb(8, 18, 27)
HSL
hsl(208deg 54% 7%)
Relative Luminance
Y = 0.0056

Using #08121B as Text Foreground

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

Using #08121B as Button / Surface Fill

White ink (#FFFFFF) on #08121B
Contrast ratio 18.87:1
AAA
Dark ink (#0F172A) on #08121B
Contrast ratio 1.06:1
Fail

Recommended accessible ink on #08121B: #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 #08121B