Navy — #000080

The hex code for navy is #000080 — rgb(0, 0, 128), hsl(240, 100%, 25%). Use it in CSS as color: #000080;.

Navy is a very dark blue — the color of deep ocean water and formal uniforms. It is the most formal blue and a classic alternative to black.

Navy color codes — click to copy

HEX#000080
RGBrgb(0, 0, 128)
HSLhsl(240, 100%, 25%)
HSVhsv(240, 100%, 50%)
CMYKcmyk(100%, 100%, 0%, 50%)

Shades, tints & tones of navy

Click any swatch to copy it.

Shades — mix with black
Tints — mix with white
Tones — mix with gray

Navy harmonies

Click a swatch to copy it.

Complementary
Analogous
Triadic
Split Complementary
Tetradic
Square
Monochromatic

Colors that go with navy

ColorHex
White#FFFFFF
Gold#FFD700
Coral#FF7F50
Silver#C0C0C0

Where navy is used

Use navy for corporate, legal, financial, and formal design. Navy with white and gold is a timeless premium combination; navy with coral or yellow feels modern.

What navy is often associated with: Authority, trust, formality, and depth.

Contrast — can you read text on navy?

White text on navy scores 16.01:1

Normal text: AA Pass   AAA Pass

Large text (18pt+, or 14pt bold+): AA Pass   AAA Pass

Black text scores 1.31:1

Normal text: AA Fail   AAA Fail

Large text (18pt+, or 14pt bold+): AA Fail   AAA Fail

Check any pair in the contrast checker →

How navy looks with color blindness

Simulated with the Machado matrices. Click a swatch to copy the simulated color.

Protanopia

#000061

Deuteranopia

#00005A

Tritanopia

#004943

This is a simulation for design checks, not a vision test. See the color blind simulator for any palette.

Frequently asked questions

What is the hex code for navy?

The hex code for navy is #000080.

What is the RGB of navy?

The RGB of navy is rgb(0, 0, 128).

What colors go with navy?

Colors that go well with navy include white (#FFFFFF), gold (#FFD700), coral (#FF7F50). See the pairings table on this page for the full list.

Is navy a good color for a website?

Navy works well as an accent or background — white text on it scores 16.01:1, which passes WCAG AA. Check any pair in the contrast checker before you ship it.

What does the color navy mean?

Authority, trust, formality, and depth.

Related tools

Color Picker · Color Names · Palette Generator · Complementary Colors · Contrast Checker