Color Reference · Midnight Slate
#16172E
oklch(21.7% 0.045 280)
HEX
#16172E
OKLCH
oklch(21.7% 0.045 280)
RGB
rgb(22, 23, 46)
HSL
hsl(238deg 35% 13%)
Relative Luminance
Y = 0.0098
Using #16172E as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.56:1
Sample text on Slate (#0F172A)
Contrast ratio 1.02:1
Using #16172E as Button / Surface Fill
White ink (#FFFFFF) on #16172E
Contrast ratio 17.56:1
Dark ink (#0F172A) on #16172E
Contrast ratio 1.02:1
Recommended accessible ink on #16172E: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.