Color Reference · Midnight Slate
#271A30
oklch(24.5% 0.044 311)
HEX
#271A30
OKLCH
oklch(24.5% 0.044 311)
RGB
rgb(39, 26, 48)
HSL
hsl(275deg 30% 15%)
Relative Luminance
Y = 0.0138
Using #271A30 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.45:1
Sample text on Slate (#0F172A)
Contrast ratio 1.09:1
Using #271A30 as Button / Surface Fill
White ink (#FFFFFF) on #271A30
Contrast ratio 16.45:1
Dark ink (#0F172A) on #271A30
Contrast ratio 1.09:1
Recommended accessible ink on #271A30: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.