#311B9D Hex Color

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

Hex color #311b9d graphic
#311b9d is a saturated, authoritative indigo that leans heavily into midnight tones. Its deep intensity makes it an excellent choice for full-screen backgrounds where you need high contrast. Pair it with crisp white typography for maximum legibility, as the 11.8:1 ratio ensures excellent accessibility. This hex code works best as a primary anchor color rather than a small accent, grounding your design in professional stability.

Questions about #311b9d

What is #311b9d in RGB, HSL and CMYK?
In RGB, #311b9d is rgb(49, 27, 157), in HSL hsl(250, 71%, 36%) and in CMYK 69%, 83%, 0%, 38%.
What colors complement #311b9d in a design scheme?
This intense indigo pairs best with clean whites or pale mint tones to balance its visual weight. It also works well alongside warm gold accents, which creates a sophisticated, high-contrast look suitable for luxury branding or formal web designs.
Is #311b9d readable on white or black?
#311b9d has a 11.83:1 contrast ratio on white and 1.77: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.