Color Reference · Midnight Slate
#28202F
oklch(26% 0.03 309)
HEX
#28202F
OKLCH
oklch(26% 0.03 309)
RGB
rgb(40, 32, 47)
HSL
hsl(272deg 19% 15%)
Relative Luminance
Y = 0.0169
Using #28202F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.7:1
Sample text on Slate (#0F172A)
Contrast ratio 1.14:1
Using #28202F as Button / Surface Fill
White ink (#FFFFFF) on #28202F
Contrast ratio 15.7:1
Dark ink (#0F172A) on #28202F
Contrast ratio 1.14:1
Recommended accessible ink on #28202F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.