Color Reference · Midnight Slate
#271E48
oklch(27% 0.075 290)
HEX
#271E48
OKLCH
oklch(27% 0.075 290)
RGB
rgb(39, 30, 72)
HSL
hsl(253deg 41% 20%)
Relative Luminance
Y = 0.0183
Using #271E48 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.38:1
Sample text on Slate (#0F172A)
Contrast ratio 1.16:1
Using #271E48 as Button / Surface Fill
White ink (#FFFFFF) on #271E48
Contrast ratio 15.38:1
Dark ink (#0F172A) on #271E48
Contrast ratio 1.16:1
Recommended accessible ink on #271E48: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.