Color Reference · Midnight Slate
#161F41
oklch(25.1% 0.065 270)
HEX
#161F41
OKLCH
oklch(25.1% 0.065 270)
RGB
rgb(22, 31, 65)
HSL
hsl(227deg 49% 17%)
Relative Luminance
Y = 0.0153
Using #161F41 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.07:1
Sample text on Slate (#0F172A)
Contrast ratio 1.11:1
Using #161F41 as Button / Surface Fill
White ink (#FFFFFF) on #161F41
Contrast ratio 16.07:1
Dark ink (#0F172A) on #161F41
Contrast ratio 1.11:1
Recommended accessible ink on #161F41: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.