Color Reference · Midnight Slate
#161F39
oklch(24.5% 0.051 268)
HEX
#161F39
OKLCH
oklch(24.5% 0.051 268)
RGB
rgb(22, 31, 57)
HSL
hsl(225deg 44% 15%)
Relative Luminance
Y = 0.0145
Using #161F39 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.29:1
Sample text on Slate (#0F172A)
Contrast ratio 1.1:1
Using #161F39 as Button / Surface Fill
White ink (#FFFFFF) on #161F39
Contrast ratio 16.29:1
Dark ink (#0F172A) on #161F39
Contrast ratio 1.1:1
Recommended accessible ink on #161F39: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.