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