Color Reference · Midnight Slate
#17182F
oklch(22.1% 0.045 280)
HEX
#17182F
OKLCH
oklch(22.1% 0.045 280)
RGB
rgb(23, 24, 47)
HSL
hsl(238deg 34% 14%)
Relative Luminance
Y = 0.0104
Using #17182F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.38:1
Sample text on Slate (#0F172A)
Contrast ratio 1.03:1
Using #17182F as Button / Surface Fill
White ink (#FFFFFF) on #17182F
Contrast ratio 17.38:1
Dark ink (#0F172A) on #17182F
Contrast ratio 1.03:1
Recommended accessible ink on #17182F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.