Color Reference · Midnight Slate
#2C2048
oklch(28% 0.072 295)
HEX
#2C2048
OKLCH
oklch(28% 0.072 295)
RGB
rgb(44, 32, 72)
HSL
hsl(258deg 38% 20%)
Relative Luminance
Y = 0.0204
Using #2C2048 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.92:1
Sample text on Slate (#0F172A)
Contrast ratio 1.2:1
Using #2C2048 as Button / Surface Fill
White ink (#FFFFFF) on #2C2048
Contrast ratio 14.92:1
Dark ink (#0F172A) on #2C2048
Contrast ratio 1.2:1
Recommended accessible ink on #2C2048: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.