Color Reference · Midnight Slate
#2C1C35
oklch(25.9% 0.05 313)
HEX
#2C1C35
OKLCH
oklch(25.9% 0.05 313)
RGB
rgb(44, 28, 53)
HSL
hsl(278deg 31% 16%)
Relative Luminance
Y = 0.0162
Using #2C1C35 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.85:1
Sample text on Slate (#0F172A)
Contrast ratio 1.13:1
Using #2C1C35 as Button / Surface Fill
White ink (#FFFFFF) on #2C1C35
Contrast ratio 15.85:1
Dark ink (#0F172A) on #2C1C35
Contrast ratio 1.13:1
Recommended accessible ink on #2C1C35: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.