Color Reference · Midnight Slate
#271A28
oklch(24% 0.032 324)
HEX
#271A28
OKLCH
oklch(24% 0.032 324)
RGB
rgb(39, 26, 40)
HSL
hsl(296deg 21% 13%)
Relative Luminance
Y = 0.0132
Using #271A28 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.61:1
Sample text on Slate (#0F172A)
Contrast ratio 1.08:1
Using #271A28 as Button / Surface Fill
White ink (#FFFFFF) on #271A28
Contrast ratio 16.61:1
Dark ink (#0F172A) on #271A28
Contrast ratio 1.08:1
Recommended accessible ink on #271A28: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.