Color Reference · Onyx Shadow
#18151B
oklch(20.2% 0.013 308)
HEX
#18151B
OKLCH
oklch(20.2% 0.013 308)
RGB
rgb(24, 21, 27)
HSL
hsl(270deg 13% 9%)
Relative Luminance
Y = 0.0081
Using #18151B as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 18.07:1
Sample text on Slate (#0F172A)
Contrast ratio 1.01:1
Using #18151B as Button / Surface Fill
White ink (#FFFFFF) on #18151B
Contrast ratio 18.07:1
Dark ink (#0F172A) on #18151B
Contrast ratio 1.01:1
Recommended accessible ink on #18151B: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.