Color Reference · Midnight Slate
#252145
oklch(27.2% 0.065 286)
HEX
#252145
OKLCH
oklch(27.2% 0.065 286)
RGB
rgb(37, 33, 69)
HSL
hsl(247deg 35% 20%)
Relative Luminance
Y = 0.0191
Using #252145 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.19:1
Sample text on Slate (#0F172A)
Contrast ratio 1.18:1
Using #252145 as Button / Surface Fill
White ink (#FFFFFF) on #252145
Contrast ratio 15.19:1
Dark ink (#0F172A) on #252145
Contrast ratio 1.18:1
Recommended accessible ink on #252145: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.