Color Reference · Midnight Slate
#271F2C
oklch(25.4% 0.027 312)
HEX
#271F2C
OKLCH
oklch(25.4% 0.027 312)
RGB
rgb(39, 31, 44)
HSL
hsl(277deg 17% 15%)
Relative Luminance
Y = 0.0159
Using #271F2C as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.93:1
Sample text on Slate (#0F172A)
Contrast ratio 1.12:1
Using #271F2C as Button / Surface Fill
White ink (#FFFFFF) on #271F2C
Contrast ratio 15.93:1
Dark ink (#0F172A) on #271F2C
Contrast ratio 1.12:1
Recommended accessible ink on #271F2C: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.