Color Reference · Midnight Slate
#2E233B
oklch(28% 0.045 305)
HEX
#2E233B
OKLCH
oklch(28% 0.045 305)
RGB
rgb(46, 35, 59)
HSL
hsl(268deg 26% 18%)
Relative Luminance
Y = 0.021
Using #2E233B as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.79:1
Sample text on Slate (#0F172A)
Contrast ratio 1.21:1
Using #2E233B as Button / Surface Fill
White ink (#FFFFFF) on #2E233B
Contrast ratio 14.79:1
Dark ink (#0F172A) on #2E233B
Contrast ratio 1.21:1
Recommended accessible ink on #2E233B: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.