Color Reference · Onyx Shadow
#18151F
oklch(20.4% 0.02 298)
HEX
#18151F
OKLCH
oklch(20.4% 0.02 298)
RGB
rgb(24, 21, 31)
HSL
hsl(258deg 19% 10%)
Relative Luminance
Y = 0.0083
Using #18151F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 18.01:1
Sample text on Slate (#0F172A)
Contrast ratio 1.01:1
Using #18151F as Button / Surface Fill
White ink (#FFFFFF) on #18151F
Contrast ratio 18.01:1
Dark ink (#0F172A) on #18151F
Contrast ratio 1.01:1
Recommended accessible ink on #18151F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.