Color Reference · Midnight Slate
#28243C
oklch(27.6% 0.044 291)
HEX
#28243C
OKLCH
oklch(27.6% 0.044 291)
RGB
rgb(40, 36, 60)
HSL
hsl(250deg 25% 19%)
Relative Luminance
Y = 0.0204
Using #28243C as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.92:1
Sample text on Slate (#0F172A)
Contrast ratio 1.2:1
Using #28243C as Button / Surface Fill
White ink (#FFFFFF) on #28243C
Contrast ratio 14.92:1
Dark ink (#0F172A) on #28243C
Contrast ratio 1.2:1
Recommended accessible ink on #28243C: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.