Color Reference · Midnight Slate
#28233F
oklch(27.6% 0.051 291)
HEX
#28233F
OKLCH
oklch(27.6% 0.051 291)
RGB
rgb(40, 35, 63)
HSL
hsl(251deg 29% 19%)
Relative Luminance
Y = 0.0201
Using #28233F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.97:1
Sample text on Slate (#0F172A)
Contrast ratio 1.19:1
Using #28233F as Button / Surface Fill
White ink (#FFFFFF) on #28233F
Contrast ratio 14.97:1
Dark ink (#0F172A) on #28233F
Contrast ratio 1.19:1
Recommended accessible ink on #28233F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.