Color Reference · Midnight Slate
#2E2749
oklch(29.8% 0.061 292)
HEX
#2E2749
OKLCH
oklch(29.8% 0.061 292)
RGB
rgb(46, 39, 73)
HSL
hsl(252deg 30% 22%)
Relative Luminance
Y = 0.0251
Using #2E2749 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 13.98:1
Sample text on Slate (#0F172A)
Contrast ratio 1.28:1
Using #2E2749 as Button / Surface Fill
White ink (#FFFFFF) on #2E2749
Contrast ratio 13.98:1
Dark ink (#0F172A) on #2E2749
Contrast ratio 1.28:1
Recommended accessible ink on #2E2749: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.