Color Reference · Midnight Slate
#201728
oklch(22.4% 0.035 308)
HEX
#201728
OKLCH
oklch(22.4% 0.035 308)
RGB
rgb(32, 23, 40)
HSL
hsl(272deg 27% 12%)
Relative Luminance
Y = 0.0107
Using #201728 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.29:1
Sample text on Slate (#0F172A)
Contrast ratio 1.03:1
Using #201728 as Button / Surface Fill
White ink (#FFFFFF) on #201728
Contrast ratio 17.29:1
Dark ink (#0F172A) on #201728
Contrast ratio 1.03:1
Recommended accessible ink on #201728: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.