Color Reference · Midnight Slate
#2E2737
oklch(28.7% 0.03 305)
HEX
#2E2737
OKLCH
oklch(28.7% 0.03 305)
RGB
rgb(46, 39, 55)
HSL
hsl(266deg 17% 18%)
Relative Luminance
Y = 0.0231
Using #2E2737 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.37:1
Sample text on Slate (#0F172A)
Contrast ratio 1.24:1
Using #2E2737 as Button / Surface Fill
White ink (#FFFFFF) on #2E2737
Contrast ratio 14.37:1
Dark ink (#0F172A) on #2E2737
Contrast ratio 1.24:1
Recommended accessible ink on #2E2737: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.