TintShelf
Interface

Navy Color Code: Hex #000080

The hex code for Navy is #000080 (the CSS keyword navy). Navy RGB code: rgb(0, 0, 128). The xkcd color survey gives #01153E instead, which looks clearly different; both codes are below with their source.

CSS Color 4#000080Top: the code browsers use
xkcd color survey, meodai color-name-list#01153EBelow: compare edge to edge

Navy color codes: each Navy hex code in every format

HEX#000080
RGBrgb(0, 0, 128)
HSLhsl(240, 100%, 25%)
OKLCHoklch(27.1% 0.188 264.1)
LABlab(11.3 41.0 -67.2)
CMYKcmyk(100%, 100%, 0%, 50%)

Sources

CSS Color 4web standard keyword
xkcd color survey2010 naming survey
meodai color-name-listopen community list

Properties

Hex codes
2 different ones in 3 color lists; they look clearly different
Family
blue
Contrast
16.01:1 with white, 1.31:1 with black
CSS keyword
navy
Character
very dark, vivid
Readable text on it
white (AA)

The name refers to the dark blue of Royal Navy officers’ uniforms, whose first regulations were issued in 1748; other navies later adopted similar dark blue uniforms. The United States Navy lists a far darker value as an official color, and many navies’ so-called navy blue uniforms have become close to black.

A very dark, vivid blue with a cool cast. In code, navy gives exactly this web value. If you mean the color as people usually picture the name, the survey value #01153E is closer: it is darker and more muted.

White text reads best on it; black text does not pass WCAG AA. Its exact opposite on the color wheel cannot be shown on screens, so the complementary palette uses the closest displayable version. Even pale tints keep its hue, which makes it easy to use for soft backgrounds. Next to Dark Blue, its closest named neighbour, it looks about as light, more muted and neither warmer nor cooler; beside Midnight Blue it looks about as light, more vivid and cooler. It is one of the darkest of the blue family here. It is one of the 16 original HTML 4 color names.

Navy blue color code: the open name list gives #000080 for Navy Blue, the same hex code as CSS navy, so the navy blue hex code for the web is #000080; the xkcd survey names a darker #001146 navy blue.

Colors that go with Navy

Complementary: the opposite of Navy

Open in generator

  • #000080White text 16.01:1
  • #332400White text 15.07:1
  • #607FBEBlack text 5.28:1
  • #1C1200White text 18.49:1

Analogous

Open in generator

  • #002B3EWhite text 14.84:1
  • #000080White text 16.01:1
  • #2F0066White text 16.00:1
  • #89A1D1Black text 8.08:1

Triadic

Open in generator

  • #000080White text 16.01:1
  • #500008White text 15.62:1
  • #003104White text 14.57:1
  • #B4C4E3Black text 11.95:1

Monochrome

Open in generator

  • #00001FWhite text 20.59:1
  • #00004DWhite text 18.97:1
  • #000080White text 16.01:1
  • #395CAAWhite text 6.39:1
  • #89A1D1Black text 8.08:1

With neutrals

Open in generator

  • #000080White text 16.01:1
  • #B4C4E3Black text 11.95:1
  • #00000BWhite text 20.90:1
  • #536384White text 6.02:1

How tints, shades and harmonies are calculated

Preview

Heading on Navy

Body text on this color, 16.01:1.

Button

Heading in Navy

Text in this color on white, 16.01:1.

Button

Tints and shades

  1. #B4C4E3
  2. #89A1D1
  3. #607FBE
  4. #395CAA
  5. #133896
  6. #000080
  7. #000066
  8. #00004D
  9. #000035
  10. #00001F
  11. #00000B

WhiteNavyBlack

Similar named colors

Where the name comes from

Try it:

Screens show the same code differently, and print adds more variation. CMYK here is the plain formula without a printer profile, so use it as a starting point, not a press value. Contrast numbers follow WCAG 2.x.