Color Reference · Midnight Slate
#271C30
oklch(24.9% 0.04 309)
HEX
#271C30
OKLCH
oklch(24.9% 0.04 309)
RGB
rgb(39, 28, 48)
HSL
hsl(273deg 26% 15%)
Relative Luminance
Y = 0.0148
Using #271C30 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.22:1
Sample text on Slate (#0F172A)
Contrast ratio 1.1:1
Using #271C30 as Button / Surface Fill
White ink (#FFFFFF) on #271C30
Contrast ratio 16.22:1
Dark ink (#0F172A) on #271C30
Contrast ratio 1.1:1
Recommended accessible ink on #271C30: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.