Color Reference · Midnight Slate
#342437
oklch(28.8% 0.04 321)
HEX
#342437
OKLCH
oklch(28.8% 0.04 321)
RGB
rgb(52, 36, 55)
HSL
hsl(291deg 21% 18%)
Relative Luminance
Y = 0.0227
Using #342437 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.45:1
Sample text on Slate (#0F172A)
Contrast ratio 1.24:1
Using #342437 as Button / Surface Fill
White ink (#FFFFFF) on #342437
Contrast ratio 14.45:1
Dark ink (#0F172A) on #342437
Contrast ratio 1.24:1
Recommended accessible ink on #342437: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.