Color Reference · Midnight Slate
#28142E
oklch(23.2% 0.055 318)
HEX
#28142E
OKLCH
oklch(23.2% 0.055 318)
RGB
rgb(40, 20, 46)
HSL
hsl(286deg 39% 13%)
Relative Luminance
Y = 0.0115
Using #28142E as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.08:1
Sample text on Slate (#0F172A)
Contrast ratio 1.05:1
Using #28142E as Button / Surface Fill
White ink (#FFFFFF) on #28142E
Contrast ratio 17.08:1
Dark ink (#0F172A) on #28142E
Contrast ratio 1.05:1
Recommended accessible ink on #28142E: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.