Color Reference · Midnight Slate
#252134
oklch(26.1% 0.035 293)
HEX
#252134
OKLCH
oklch(26.1% 0.035 293)
RGB
rgb(37, 33, 52)
HSL
hsl(253deg 22% 17%)
Relative Luminance
Y = 0.0173
Using #252134 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.6:1
Sample text on Slate (#0F172A)
Contrast ratio 1.14:1
Using #252134 as Button / Surface Fill
White ink (#FFFFFF) on #252134
Contrast ratio 15.6:1
Dark ink (#0F172A) on #252134
Contrast ratio 1.14:1
Recommended accessible ink on #252134: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.