Color Reference · Midnight Slate
#2C2131
oklch(26.8% 0.033 315)
HEX
#2C2131
OKLCH
oklch(26.8% 0.033 315)
RGB
rgb(44, 33, 49)
HSL
hsl(281deg 20% 16%)
Relative Luminance
Y = 0.0184
Using #2C2131 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.34:1
Sample text on Slate (#0F172A)
Contrast ratio 1.16:1
Using #2C2131 as Button / Surface Fill
White ink (#FFFFFF) on #2C2131
Contrast ratio 15.34:1
Dark ink (#0F172A) on #2C2131
Contrast ratio 1.16:1
Recommended accessible ink on #2C2131: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.