Color Reference · Onyx Shadow
#021D1F
oklch(21.1% 0.033 202)
HEX
#021D1F
OKLCH
oklch(21.1% 0.033 202)
RGB
rgb(2, 29, 31)
HSL
hsl(184deg 88% 6%)
Relative Luminance
Y = 0.0099
Using #021D1F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.53:1
Sample text on Slate (#0F172A)
Contrast ratio 1.02:1
Using #021D1F as Button / Surface Fill
White ink (#FFFFFF) on #021D1F
Contrast ratio 17.53:1
Dark ink (#0F172A) on #021D1F
Contrast ratio 1.02:1
Recommended accessible ink on #021D1F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.