Color Reference · Onyx Shadow

#140F17

oklch(17.9% 0.018 313)

HEX
#140F17
OKLCH
oklch(17.9% 0.018 313)
RGB
rgb(20, 15, 23)
HSL
hsl(278deg 21% 7%)
Relative Luminance
Y = 0.0055

Using #140F17 as Text Foreground

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

Using #140F17 as Button / Surface Fill

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

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