Color Reference · Onyx Shadow
#2E181F
oklch(24.2% 0.037 360)
HEX
#2E181F
OKLCH
oklch(24.2% 0.037 360)
RGB
rgb(46, 24, 31)
HSL
hsl(341deg 31% 14%)
Relative Luminance
Y = 0.0133
Using #2E181F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.58:1
Sample text on Slate (#0F172A)
Contrast ratio 1.08:1
Using #2E181F as Button / Surface Fill
White ink (#FFFFFF) on #2E181F
Contrast ratio 16.58:1
Dark ink (#0F172A) on #2E181F
Contrast ratio 1.08:1
Recommended accessible ink on #2E181F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.