Color Reference · Onyx Shadow
#18161F
oklch(20.7% 0.018 295)
HEX
#18161F
OKLCH
oklch(20.7% 0.018 295)
RGB
rgb(24, 22, 31)
HSL
hsl(253deg 17% 10%)
Relative Luminance
Y = 0.0087
Using #18161F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.9:1
Sample text on Slate (#0F172A)
Contrast ratio 1:1
Using #18161F as Button / Surface Fill
White ink (#FFFFFF) on #18161F
Contrast ratio 17.9:1
Dark ink (#0F172A) on #18161F
Contrast ratio 1:1
Recommended accessible ink on #18161F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.