Color Reference · Onyx Shadow

#16151B

oklch(20% 0.012 293)

HEX
#16151B
OKLCH
oklch(20% 0.012 293)
RGB
rgb(22, 21, 27)
HSL
hsl(250deg 13% 9%)
Relative Luminance
Y = 0.0079

Using #16151B as Text Foreground

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

Using #16151B as Button / Surface Fill

White ink (#FFFFFF) on #16151B
Contrast ratio 18.15:1
AAA
Dark ink (#0F172A) on #16151B
Contrast ratio 1.02:1
Fail

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