Color Reference · Midnight Slate
#28243A
oklch(27.5% 0.04 292)
HEX
#28243A
OKLCH
oklch(27.5% 0.04 292)
RGB
rgb(40, 36, 58)
HSL
hsl(251deg 23% 18%)
Relative Luminance
Y = 0.0202
Using #28243A as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.96:1
Sample text on Slate (#0F172A)
Contrast ratio 1.19:1
Using #28243A as Button / Surface Fill
White ink (#FFFFFF) on #28243A
Contrast ratio 14.96:1
Dark ink (#0F172A) on #28243A
Contrast ratio 1.19:1
Recommended accessible ink on #28243A: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.