Color Reference · Midnight Slate
#2C2437
oklch(27.8% 0.036 303)
HEX
#2C2437
OKLCH
oklch(27.8% 0.036 303)
RGB
rgb(44, 36, 55)
HSL
hsl(265deg 21% 18%)
Relative Luminance
Y = 0.0207
Using #2C2437 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.85:1
Sample text on Slate (#0F172A)
Contrast ratio 1.2:1
Using #2C2437 as Button / Surface Fill
White ink (#FFFFFF) on #2C2437
Contrast ratio 14.85:1
Dark ink (#0F172A) on #2C2437
Contrast ratio 1.2:1
Recommended accessible ink on #2C2437: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.