Color Reference · Midnight Slate
#170F34
oklch(20.4% 0.07 289)
HEX
#170F34
OKLCH
oklch(20.4% 0.07 289)
RGB
rgb(23, 15, 52)
HSL
hsl(253deg 55% 13%)
Relative Luminance
Y = 0.0077
Using #170F34 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 18.19:1
Sample text on Slate (#0F172A)
Contrast ratio 1.02:1
Using #170F34 as Button / Surface Fill
White ink (#FFFFFF) on #170F34
Contrast ratio 18.19:1
Dark ink (#0F172A) on #170F34
Contrast ratio 1.02:1
Recommended accessible ink on #170F34: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.