Color Reference · Midnight Slate
#271E41
oklch(26.5% 0.064 293)
HEX
#271E41
OKLCH
oklch(26.5% 0.064 293)
RGB
rgb(39, 30, 65)
HSL
hsl(255deg 37% 19%)
Relative Luminance
Y = 0.0174
Using #271E41 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.58:1
Sample text on Slate (#0F172A)
Contrast ratio 1.15:1
Using #271E41 as Button / Surface Fill
White ink (#FFFFFF) on #271E41
Contrast ratio 15.58:1
Dark ink (#0F172A) on #271E41
Contrast ratio 1.15:1
Recommended accessible ink on #271E41: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.