Color Reference · Midnight Slate
#34283F
oklch(30.1% 0.044 308)
HEX
#34283F
OKLCH
oklch(30.1% 0.044 308)
RGB
rgb(52, 40, 63)
HSL
hsl(271deg 22% 20%)
Relative Luminance
Y = 0.0261
Using #34283F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 13.8:1
Sample text on Slate (#0F172A)
Contrast ratio 1.29:1
Using #34283F as Button / Surface Fill
White ink (#FFFFFF) on #34283F
Contrast ratio 13.8:1
Dark ink (#0F172A) on #34283F
Contrast ratio 1.29:1
Recommended accessible ink on #34283F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.