Color Reference · Onyx Shadow

#022223

oklch(23% 0.037 198)

HEX
#022223
OKLCH
oklch(23% 0.037 198)
RGB
rgb(2, 34, 35)
HSL
hsl(182deg 89% 7%)
Relative Luminance
Y = 0.0128

Using #022223 as Text Foreground

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

Using #022223 as Button / Surface Fill

White ink (#FFFFFF) on #022223
Contrast ratio 16.72:1
AAA
Dark ink (#0F172A) on #022223
Contrast ratio 1.07:1
Fail

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