Color Reference · Midnight Slate
#171C28
oklch(22.7% 0.025 267)
HEX
#171C28
OKLCH
oklch(22.7% 0.025 267)
RGB
rgb(23, 28, 40)
HSL
hsl(222deg 27% 12%)
Relative Luminance
Y = 0.0117
Using #171C28 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.03:1
Sample text on Slate (#0F172A)
Contrast ratio 1.05:1
Using #171C28 as Button / Surface Fill
White ink (#FFFFFF) on #171C28
Contrast ratio 17.03:1
Dark ink (#0F172A) on #171C28
Contrast ratio 1.05:1
Recommended accessible ink on #171C28: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.