Color Reference · Midnight Slate
#28224A
oklch(28.1% 0.071 288)
HEX
#28224A
OKLCH
oklch(28.1% 0.071 288)
RGB
rgb(40, 34, 74)
HSL
hsl(249deg 37% 21%)
Relative Luminance
Y = 0.0209
Using #28224A as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.81:1
Sample text on Slate (#0F172A)
Contrast ratio 1.21:1
Using #28224A as Button / Surface Fill
White ink (#FFFFFF) on #28224A
Contrast ratio 14.81:1
Dark ink (#0F172A) on #28224A
Contrast ratio 1.21:1
Recommended accessible ink on #28224A: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.