Color Reference · Onyx Shadow

#181E27

oklch(23.3% 0.02 258)

HEX
#181E27
OKLCH
oklch(23.3% 0.02 258)
RGB
rgb(24, 30, 39)
HSL
hsl(216deg 24% 12%)
Relative Luminance
Y = 0.0127

Using #181E27 as Text Foreground

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

Using #181E27 as Button / Surface Fill

White ink (#FFFFFF) on #181E27
Contrast ratio 16.75:1
AAA
Dark ink (#0F172A) on #181E27
Contrast ratio 1.07:1
Fail

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