Color Reference · Midnight Slate
#271E33
oklch(25.6% 0.04 303)
HEX
#271E33
OKLCH
oklch(25.6% 0.04 303)
RGB
rgb(39, 30, 51)
HSL
hsl(266deg 26% 16%)
Relative Luminance
Y = 0.016
Using #271E33 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.91:1
Sample text on Slate (#0F172A)
Contrast ratio 1.12:1
Using #271E33 as Button / Surface Fill
White ink (#FFFFFF) on #271E33
Contrast ratio 15.91:1
Dark ink (#0F172A) on #271E33
Contrast ratio 1.12:1
Recommended accessible ink on #271E33: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.