Color Reference · Midnight Slate
#2C2142
oklch(27.8% 0.06 298)
HEX
#2C2142
OKLCH
oklch(27.8% 0.06 298)
RGB
rgb(44, 33, 66)
HSL
hsl(260deg 33% 19%)
Relative Luminance
Y = 0.0202
Using #2C2142 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.96:1
Sample text on Slate (#0F172A)
Contrast ratio 1.19:1
Using #2C2142 as Button / Surface Fill
White ink (#FFFFFF) on #2C2142
Contrast ratio 14.96:1
Dark ink (#0F172A) on #2C2142
Contrast ratio 1.19:1
Recommended accessible ink on #2C2142: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.