#000080

Navy — Color Codes & Palette

#000080  ·  rgb(0, 0, 128)  ·  hsl(240, 100%, 25%)

Color Codes

Format Value
HEX #000080
RGB rgb(0, 0, 128)
HSL hsl(240, 100%, 25%)

Shades of Navy

#000075#00006B#000061#000057#00004D#000042#000038#00002E

Tints of Navy

#0000A8#0000D1#0000FA#2424FF#4D4DFF#7575FF#9E9EFF#C7C7FF

Color Pairings & Harmony

Complementary
#808000
Analogous +30°
#400080
Analogous −30°
#004080
Triadic +120°
#800000
Triadic −120°
#008000

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
16.01:1 — AAA pass for normal text
vs. Black (#000000)
1.31:1 — Fail

CSS Snippet

.element {
  color: #000080;
}

.element-bg {
  background-color: #000080;
  color: #ffffff;
}

.element-border {
  border: 2px solid #000080;
}

About Navy

Navy is a dark color with vivid, highly saturated, defined by the hex code #000080. Its exact color model values are rgb(0, 0, 128) in RGB and hsl(240, 100%, 25%) in HSL (hue 240°, saturation 100%, lightness 25%). On a white background the contrast ratio is 16.01:1 — AAA pass for normal text, and on black it is 1.31:1 — Fail. Use Navy for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of Navy?
The RGB value of Navy (#000080) is rgb(0, 0, 128). Red = rgb(0, 0, 128), representing the amounts of red, green, and blue light on a 0–255 scale.
Is Navy accessible on a white background?
The contrast ratio of Navy on white (#FFFFFF) is 16.01:1 — AAA pass for normal text. On black (#000000) the contrast ratio is 1.31:1 — Fail. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with Navy?
Based on color theory, Navy (hsl(240, 100%, 25%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.