Color Reference · Midnight Slate
#170E25
oklch(18.9% 0.046 300)
HEX
#170E25
OKLCH
oklch(18.9% 0.046 300)
RGB
rgb(23, 14, 37)
HSL
hsl(263deg 45% 10%)
Relative Luminance
Y = 0.0063
Using #170E25 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 18.65:1
Sample text on Slate (#0F172A)
Contrast ratio 1.04:1
Using #170E25 as Button / Surface Fill
White ink (#FFFFFF) on #170E25
Contrast ratio 18.65:1
Dark ink (#0F172A) on #170E25
Contrast ratio 1.04:1
Recommended accessible ink on #170E25: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.