#05118B Hex Color

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

Hex color #05118b graphic
Darker than a midnight sea, this navy carries a faint violet lean that keeps it from reading flat. The hex code #05118b works best as a dominant base in finance, government, or law enforcement design, where its deep, dim tone signals trust and authority. White text hits about 14.4:1 contrast on it, so small body text stays readable. It flatters brass and burgundy accents. See other shades of blue for similar tones.

Questions about #05118b

What is #05118b in RGB, HSL and CMYK?
In RGB, #05118b is rgb(5, 17, 139), in HSL hsl(235, 93%, 28%) and in CMYK 96%, 88%, 0%, 45%. Browse more shades of blue with names and hex codes.
What colors pair well with #05118b?
Brass, burgundy, and warm gold accents bring out its depth without competing with it. For a softer palette, muted slate grays or a pale sand tone work as neutral counterweights.
Is #05118b readable on white or black?
#05118b has a 14.38:1 contrast ratio on white and 1.45: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.