Color Reference · Onyx Shadow

#12141E

oklch(19.4% 0.02 276)

HEX
#12141E
OKLCH
oklch(19.4% 0.02 276)
RGB
rgb(18, 20, 30)
HSL
hsl(230deg 25% 9%)
Relative Luminance
Y = 0.0072

Using #12141E as Text Foreground

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

Using #12141E as Button / Surface Fill

White ink (#FFFFFF) on #12141E
Contrast ratio 18.35:1
AAA
Dark ink (#0F172A) on #12141E
Contrast ratio 1.03:1
Fail

Recommended accessible ink on #12141E: #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 #12141E