Color Reference · Onyx Shadow

#140F18

oklch(17.9% 0.02 310)

HEX
#140F18
OKLCH
oklch(17.9% 0.02 310)
RGB
rgb(20, 15, 24)
HSL
hsl(273deg 23% 8%)
Relative Luminance
Y = 0.0056

Using #140F18 as Text Foreground

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

Using #140F18 as Button / Surface Fill

White ink (#FFFFFF) on #140F18
Contrast ratio 18.9:1
AAA
Dark ink (#0F172A) on #140F18
Contrast ratio 1.06:1
Fail

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