Color Reference · Midnight Slate
#312435
oklch(28.3% 0.035 318)
HEX
#312435
OKLCH
oklch(28.3% 0.035 318)
RGB
rgb(49, 36, 53)
HSL
hsl(286deg 19% 17%)
Relative Luminance
Y = 0.0217
Using #312435 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.64:1
Sample text on Slate (#0F172A)
Contrast ratio 1.22:1
Using #312435 as Button / Surface Fill
White ink (#FFFFFF) on #312435
Contrast ratio 14.64:1
Dark ink (#0F172A) on #312435
Contrast ratio 1.22:1
Recommended accessible ink on #312435: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.