AfoliOpen Afoli →

Navy color #000080

Navy is one of the CSS named colors (keyword navy) with the hex code #000080 — RGB 0, 0, 128, HSL 240°, 100%, 25%.

Open in Afoli Colour tools →

#000080Navy

Color codes

HEX
#000080
RGB
rgb(0, 0, 128)
HSL
hsl(240, 100%, 25%)
CMYK
100%, 100%, 0%, 50%
OKLCH
oklch(27.1% 0.188 264.1)
CSS keyword
navy

Tints and shades

#F0F5FF#C8DBFF#A0BFFF#77A3FF#5085FD#396BE1#2351C5#0D36A9#00188E#000067#000037

Color harmonies

Complementary
#000080#342400
Analogous
#002B3E#000080#300066
Triadic
#000080#500008#003104
Split complementary
#000080#3F1B00#272A00
Tetradic
#000080#4C002A#342400#002F25

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Navy text on white16.01 : 1101AAA — any text
Navy text on black1.31 : 10Fails for text
White text on Navy16.01 : 1-104AAA — any text
Black text on Navy1.31 : 10Fails for text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Navy?

Navy has the hex code #000080, which is RGB 0, 0, 128 and HSL 240°, 100%, 25%.

Which text color reads best on Navy?

White text: contrast 16.01 : 1 (black text: 1.31 : 1).

Which colors go well with Navy?

Its complementary color is #342400; analogous colors are #002B3E and #300066; a triadic set adds #500008 and #003104.

Similar colors

Sources and licences

Updated November 21, 2026