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