Color Reference · Onyx Shadow

#26151B

oklch(22.1% 0.029 357)

HEX
#26151B
OKLCH
oklch(22.1% 0.029 357)
RGB
rgb(38, 21, 27)
HSL
hsl(339deg 29% 12%)
Relative Luminance
Y = 0.0103

Using #26151B as Text Foreground

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

Using #26151B as Button / Surface Fill

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

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