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%.
#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
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Navy text on white | 16.01 : 1 | 101 | AAA — any text |
| Navy text on black | 1.31 : 1 | 0 | Fails for text |
| White text on Navy | 16.01 : 1 | -104 | AAA — any text |
| Black text on Navy | 1.31 : 1 | 0 | Fails for 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
- Dark Blue #00008B
- Dark Royal Blue #02066F
- Royal #0C1793
- Midnight Blue #191970
- Cobalt Blue #030AA7
- Dark Indigo #1F0954
- Ultramarine #2000B1
- Marine #042E60
- Navy Blue #001146
- Night Blue #040348
Sources and licences
- CSS Color Module Level 4 — named colors (W3C Software and Document License)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)