Color Reference · Onyx Shadow

#0C151F

oklch(19.2% 0.024 252)

HEX
#0C151F
OKLCH
oklch(19.2% 0.024 252)
RGB
rgb(12, 21, 31)
HSL
hsl(212deg 44% 8%)
Relative Luminance
Y = 0.0071

Using #0C151F as Text Foreground

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

Using #0C151F as Button / Surface Fill

White ink (#FFFFFF) on #0C151F
Contrast ratio 18.38:1
AAA
Dark ink (#0F172A) on #0C151F
Contrast ratio 1.03:1
Fail

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