Navy
Navy is a near-black, saturated blue-violet color with the hex code #000080 (hue 240°, saturation 100%, lightness 25%). It is also the CSS named color navy.
- HEX
#000080 - RGB
rgb(0 0 128) - HSL
hsl(240 100% 25%) - OKLCH
oklch(27.1% 0.188 264)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Navy | #000080 | 0, 0, 128 | 240°, 100%, 25% | 100, 100, 0, 50 | 27.1% 0.188 264 |
Contrast with white text 16.01:1, with black text 1.31:1 — use white text on Navy.
navy is one of the 148 named colors in CSS, with exactly this value, so color: navy works in any browser without a hex code.
Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work
Adjust Navy
Move the sliders to make Navy lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#000080 - RGB
rgb(0 0 128) - HSL
hsl(240 100% 25%)
Variations of Navy
Text on Navy
WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.
Navy with color blindness
How Navy appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.
Tints and shades
Colors that go with Navy
Six color schemes built on Navy with classic harmony rules. The complementary scheme pairs it with Drably Olive (#808101), the color opposite it on the color wheel.
- Navy Complementary Color Scheme#000080#0000DD#808101#333300#E6E200
- Navy Analogous Color Scheme#008080#014182#000080#4B0082#800080
- Navy Triadic Color Scheme#000080#800000#008000#0203E2#330000
- Navy Split-complementary Color Scheme#000080#884400#448800#000033#CC6600
- Navy Tetradic Color Scheme#000080#880044#808101#048243#0203E2
- Navy Monochromatic Color Scheme#01081C#000033#000080#0000CD#1C1CF0
Nearest CSS named colors
- Dark Blue (CSS) (
darkblue): Dark Blue (CSS) (#00008B) is about as light as Navy (relative luminance 0.019 vs 0.016) and equally saturated, with the same hue. - Midnight Blue (
midnightblue): Midnight Blue (#191970) is lighter than Navy (relative luminance 0.021 vs 0.016) and less saturated, with the same hue. - Medium Blue (
mediumblue): Medium Blue (#0000CD) is lighter than Navy (relative luminance 0.044 vs 0.016) and equally saturated, with the same hue. - Indigo (
indigo): Indigo (#4B0082) is lighter than Navy (relative luminance 0.031 vs 0.016) and equally saturated, with its hue 35° away.
Gradients with Navy
Similar dark blue colors
- 20000 Leagues Under the Sea#191970
- 3AM in Shibuya#225577
- Abyssal#404C57
- Aegean Blue#1B416F
- Alone in the Dark#000066
- Assassin#2D4F83
- Astral#376F89
- Atlantic Navy#13336F
- Atlantis#336172
- Below the Surface#0A2F7C
- Beyond the Sea#005784
- Black Market#222244
- Black Sea Night#052462
- Black Turmeric#2C4364
- Blue Chip#1D5699
- Blue Funk#2D4470
- Blue Hour#0034AB
- Blue Screen of Death#0033BB
Questions
What is the hex code for Navy?
#000080 — RGB 0, 0, 128, HSL 240°, 100%, 25%.
Is Navy a warm or cool color?
Cool — its hue sits at 240° on the color wheel.