Color Reference · Midnight Slate
#271D2C
oklch(24.9% 0.031 314)
HEX
#271D2C
OKLCH
oklch(24.9% 0.031 314)
RGB
rgb(39, 29, 44)
HSL
hsl(280deg 21% 14%)
Relative Luminance
Y = 0.0149
Using #271D2C as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.17:1
Sample text on Slate (#0F172A)
Contrast ratio 1.1:1
Using #271D2C as Button / Surface Fill
White ink (#FFFFFF) on #271D2C
Contrast ratio 16.17:1
Dark ink (#0F172A) on #271D2C
Contrast ratio 1.1:1
Recommended accessible ink on #271D2C: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.