Color Reference · Midnight Slate
#31263E
oklch(29.2% 0.045 305)
HEX
#31263E
OKLCH
oklch(29.2% 0.045 305)
RGB
rgb(49, 38, 62)
HSL
hsl(268deg 24% 20%)
Relative Luminance
Y = 0.0239
Using #31263E as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.21:1
Sample text on Slate (#0F172A)
Contrast ratio 1.26:1
Using #31263E as Button / Surface Fill
White ink (#FFFFFF) on #31263E
Contrast ratio 14.21:1
Dark ink (#0F172A) on #31263E
Contrast ratio 1.26:1
Recommended accessible ink on #31263E: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.