Color Reference · Midnight Slate
#271F35
oklch(25.9% 0.042 300)
HEX
#271F35
OKLCH
oklch(25.9% 0.042 300)
RGB
rgb(39, 31, 53)
HSL
hsl(262deg 26% 16%)
Relative Luminance
Y = 0.0167
Using #271F35 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.75:1
Sample text on Slate (#0F172A)
Contrast ratio 1.13:1
Using #271F35 as Button / Surface Fill
White ink (#FFFFFF) on #271F35
Contrast ratio 15.75:1
Dark ink (#0F172A) on #271F35
Contrast ratio 1.13:1
Recommended accessible ink on #271F35: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.