Color Reference · Midnight Slate
#252140
oklch(26.9% 0.057 288)
HEX
#252140
OKLCH
oklch(26.9% 0.057 288)
RGB
rgb(37, 33, 64)
HSL
hsl(248deg 32% 19%)
Relative Luminance
Y = 0.0185
Using #252140 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.33:1
Sample text on Slate (#0F172A)
Contrast ratio 1.16:1
Using #252140 as Button / Surface Fill
White ink (#FFFFFF) on #252140
Contrast ratio 15.33:1
Dark ink (#0F172A) on #252140
Contrast ratio 1.16:1
Recommended accessible ink on #252140: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.