Color Reference · Midnight Slate
#271D2F
oklch(25.1% 0.036 309)
HEX
#271D2F
OKLCH
oklch(25.1% 0.036 309)
RGB
rgb(39, 29, 47)
HSL
hsl(273deg 24% 15%)
Relative Luminance
Y = 0.0152
Using #271D2F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.12:1
Sample text on Slate (#0F172A)
Contrast ratio 1.11:1
Using #271D2F as Button / Surface Fill
White ink (#FFFFFF) on #271D2F
Contrast ratio 16.12:1
Dark ink (#0F172A) on #271D2F
Contrast ratio 1.11:1
Recommended accessible ink on #271D2F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.