Color Reference · Midnight Slate
#2E1635
oklch(24.9% 0.064 318)
HEX
#2E1635
OKLCH
oklch(24.9% 0.064 318)
RGB
rgb(46, 22, 53)
HSL
hsl(286deg 41% 15%)
Relative Luminance
Y = 0.0141
Using #2E1635 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.38:1
Sample text on Slate (#0F172A)
Contrast ratio 1.09:1
Using #2E1635 as Button / Surface Fill
White ink (#FFFFFF) on #2E1635
Contrast ratio 16.38:1
Dark ink (#0F172A) on #2E1635
Contrast ratio 1.09:1
Recommended accessible ink on #2E1635: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.