Color Reference · Midnight Slate
#2C1941
oklch(26.1% 0.074 304)
HEX
#2C1941
OKLCH
oklch(26.1% 0.074 304)
RGB
rgb(44, 25, 65)
HSL
hsl(269deg 44% 18%)
Relative Luminance
Y = 0.0161
Using #2C1941 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.88:1
Sample text on Slate (#0F172A)
Contrast ratio 1.12:1
Using #2C1941 as Button / Surface Fill
White ink (#FFFFFF) on #2C1941
Contrast ratio 15.88:1
Dark ink (#0F172A) on #2C1941
Contrast ratio 1.12:1
Recommended accessible ink on #2C1941: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.