Color Reference · Onyx Shadow

#0E161F

oklch(19.7% 0.022 252)

HEX
#0E161F
OKLCH
oklch(19.7% 0.022 252)
RGB
rgb(14, 22, 31)
HSL
hsl(212deg 38% 9%)
Relative Luminance
Y = 0.0077

Using #0E161F as Text Foreground

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

Using #0E161F as Button / Surface Fill

White ink (#FFFFFF) on #0E161F
Contrast ratio 18.21:1
AAA
Dark ink (#0F172A) on #0E161F
Contrast ratio 1.02:1
Fail

Recommended accessible ink on #0E161F: #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 #0E161F