#161871 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #161871 graphic
#161871 is a very dark indigo that leans navy in dim light. Its low lightness and muted saturation give it a serious, night-sky character, so it works best as a dominant base in dark mode UI, finance branding, and formal layouts. White text on top reaches about 15.0:1 contrast, well past the 4.5:1 that WCAG AA requires for body copy. For smooth gradients, blend it with other deeper purple tones.

Questions about #161871

What is #161871 in RGB, HSL and CMYK?
In RGB, #161871 is rgb(22, 24, 113), in HSL hsl(239, 67%, 26%) and in CMYK 81%, 79%, 0%, 56%. Browse more shades of blue with names and hex codes.
What text color works best on #161871?
White text is the safest choice, reaching about 15.0:1 contrast, which clears WCAG AA for even small body text. Light grays also work but check anything below AAA-grade whites carefully.
What colors pair well with #161871?
#161871 flatters warm, muted partners like burgundy, brass, and dusty gold, which keep its cold depth from feeling flat. Avoid bright cyans, which can make it look washed out by comparison.
Is #161871 readable on white or black?
#161871 has a 14.96:1 contrast ratio on white and 1.40:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.