Color Reference · Midnight Slate
#2E283F
oklch(29.4% 0.042 296)
HEX
#2E283F
OKLCH
oklch(29.4% 0.042 296)
RGB
rgb(46, 40, 63)
HSL
hsl(256deg 22% 20%)
Relative Luminance
Y = 0.0246
Using #2E283F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.08:1
Sample text on Slate (#0F172A)
Contrast ratio 1.27:1
Using #2E283F as Button / Surface Fill
White ink (#FFFFFF) on #2E283F
Contrast ratio 14.08:1
Dark ink (#0F172A) on #2E283F
Contrast ratio 1.27:1
Recommended accessible ink on #2E283F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.