Color Reference · Midnight Slate
#2C1730
oklch(24.5% 0.054 321)
HEX
#2C1730
OKLCH
oklch(24.5% 0.054 321)
RGB
rgb(44, 23, 48)
HSL
hsl(290deg 35% 14%)
Relative Luminance
Y = 0.0136
Using #2C1730 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.51:1
Sample text on Slate (#0F172A)
Contrast ratio 1.08:1
Using #2C1730 as Button / Surface Fill
White ink (#FFFFFF) on #2C1730
Contrast ratio 16.51:1
Dark ink (#0F172A) on #2C1730
Contrast ratio 1.08:1
Recommended accessible ink on #2C1730: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.