Color Reference · Midnight Slate
#271B2C
oklch(24.5% 0.036 316)
HEX
#271B2C
OKLCH
oklch(24.5% 0.036 316)
RGB
rgb(39, 27, 44)
HSL
hsl(282deg 24% 14%)
Relative Luminance
Y = 0.014
Using #271B2C as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.41:1
Sample text on Slate (#0F172A)
Contrast ratio 1.09:1
Using #271B2C as Button / Surface Fill
White ink (#FFFFFF) on #271B2C
Contrast ratio 16.41:1
Dark ink (#0F172A) on #271B2C
Contrast ratio 1.09:1
Recommended accessible ink on #271B2C: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.