Color Reference · Midnight Slate
#28233C
oklch(27.4% 0.046 292)
HEX
#28233C
OKLCH
oklch(27.4% 0.046 292)
RGB
rgb(40, 35, 60)
HSL
hsl(252deg 26% 19%)
Relative Luminance
Y = 0.0198
Using #28233C as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.04:1
Sample text on Slate (#0F172A)
Contrast ratio 1.19:1
Using #28233C as Button / Surface Fill
White ink (#FFFFFF) on #28233C
Contrast ratio 15.04:1
Dark ink (#0F172A) on #28233C
Contrast ratio 1.19:1
Recommended accessible ink on #28233C: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.