Color Reference · Onyx Shadow

#1F121F

oklch(20.6% 0.032 327)

HEX
#1F121F
OKLCH
oklch(20.6% 0.032 327)
RGB
rgb(31, 18, 31)
HSL
hsl(300deg 27% 10%)
Relative Luminance
Y = 0.0082

Using #1F121F as Text Foreground

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

Using #1F121F as Button / Surface Fill

White ink (#FFFFFF) on #1F121F
Contrast ratio 18.03:1
AAA
Dark ink (#0F172A) on #1F121F
Contrast ratio 1.01:1
Fail

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