Color Reference · Midnight Slate
#28202E
oklch(25.9% 0.028 310)
HEX
#28202E
OKLCH
oklch(25.9% 0.028 310)
RGB
rgb(40, 32, 46)
HSL
hsl(274deg 18% 15%)
Relative Luminance
Y = 0.0168
Using #28202E as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.72:1
Sample text on Slate (#0F172A)
Contrast ratio 1.14:1
Using #28202E as Button / Surface Fill
White ink (#FFFFFF) on #28202E
Contrast ratio 15.72:1
Dark ink (#0F172A) on #28202E
Contrast ratio 1.14:1
Recommended accessible ink on #28202E: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.