Color Reference · Midnight Slate
#271A32
oklch(24.6% 0.048 308)
HEX
#271A32
OKLCH
oklch(24.6% 0.048 308)
RGB
rgb(39, 26, 50)
HSL
hsl(273deg 32% 15%)
Relative Luminance
Y = 0.014
Using #271A32 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.41:1
Sample text on Slate (#0F172A)
Contrast ratio 1.09:1
Using #271A32 as Button / Surface Fill
White ink (#FFFFFF) on #271A32
Contrast ratio 16.41:1
Dark ink (#0F172A) on #271A32
Contrast ratio 1.09:1
Recommended accessible ink on #271A32: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.