Color codes

Navy blue hex code #000080

#000080 is navy blue, called navy in CSS: half-strength blue with no red or green.

Navy blue #000080 CSS named color: navy

Navy blue color codes

HEX#000080
RGBrgb(0, 0, 128)
HSLhsl(240, 100%, 25%)
CMYKcmyk(100%, 100%, 0%, 50%)
More formats and code
HSV / HSBhsv(240, 100%, 50%)
OKLCHoklch(0.271 0.188 264.1)
RGB numbers0, 0, 128
CSScolor: #000080;
Tailwindbg-[#000080]
SwiftUIColor(red: 0.000, green: 0.000, blue: 0.502)
AndroidColor.parseColor("#000080")

CMYK here is a plain formula. Ask your print shop for the numbers their press uses.

Open in a tool: ConverterShade generatorContrast checkerColor wheelPalette generatorColor blindness simulator

Lighter and darker navy blue

Each step mixes in more white or black, in even steps for the eye. Tap a swatch to copy its code.

Lighter

Darker

Colors that go with navy blue

Complementary

Across the color wheel. Strong contrast, good for one button or one word.

Analogous

Its neighbors on the wheel. Calm, easy to use together.

Triadic

Three colors evenly spread. Lively, best with one in charge.

Pairs well in a brand

Navy blue and text

White text reads best on navy blue: 16.00:1. The same numbers hold for navy blue text on a white or a black page. Body text needs 4.5:1 for AA and 7:1 for AAA; large text needs 3:1.

TextContrastWCAG
AaWhite text on navy blue16.00:1AAA
AaBlack text on navy blue1.31:1Fails
Text in the sample post
How navy blue looks with color blindness

Other navy blue hex codes

The CSS navy is bright for a navy. The navies of uniforms and suits are darker and grayer, like midnight blue #191970 or Oxford blue #002147. Dark blue #00008B in CSS is a hair lighter than navy. Many brand navies are custom codes somewhere between these.

  • Navy blueCSS named color: navy. The code on this page#000080
  • Midnight blueCSS named color: midnightblue#191970
  • Dark blueCSS named color: darkblue#00008B
  • Oxford blueCommon variant#002147
  • Dark slate blueCSS named color: darkslateblue#483D8B
  • Medium blueCSS named color: mediumblue#0000CD

Navy blue in a small business brand

Navy is the calm, serious choice: law firms, accountants, marine and sailing brands, schools. It can replace black for text and gives a page a softer look. As a background it carries white and gold well. A warm accent, coral or gold, keeps a navy brand from feeling cold.

FAQ

What is the hex code for navy blue?

Navy blue is #000080 as the CSS named color navy. In RGB that is rgb(0, 0, 128), and in CMYK cmyk(100%, 100%, 0%, 50%).

What text color goes on navy blue?

White text, at a contrast of 16.00:1, which passes WCAG AAA. Black text reaches 1.31:1, too low for any text.

Is navy the same as navy blue?

Yes. CSS calls it navy, and both mean #000080, which is rgb(0, 0, 128).

What colors go with navy blue?

White, gold, coral and light gray are classic pairs. Gold on navy is a common look for anything premium.

More color codes

All color codes

Keep your brand colors in one place

Add your brand colors once in Postfjord's design editor, under Settings, Brand, and every template can use them. Try it free.

Start free