Color Reference · Onyx Shadow

#18101B

oklch(18.9% 0.025 317)

HEX
#18101B
OKLCH
oklch(18.9% 0.025 317)
RGB
rgb(24, 16, 27)
HSL
hsl(284deg 26% 8%)
Relative Luminance
Y = 0.0064

Using #18101B as Text Foreground

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

Using #18101B as Button / Surface Fill

White ink (#FFFFFF) on #18101B
Contrast ratio 18.6:1
AAA
Dark ink (#0F172A) on #18101B
Contrast ratio 1.04:1
Fail

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