Navy #000080
Navy is one of the named colours in CSS, written navy. White text reaches 16.01:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | navy |
|---|---|
| HEX | #000080 |
| RGB | rgb(0 0 128) |
| HSL | hsl(240 100% 25%) |
| OKLCH | oklch(27.1% 0.188 264.1) |
| White text | 16.01:1 · body text AA Pass |
| Black text | 1.31:1 · body text AA Fail |
Colours that go with Navy
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Dull Violet Black (#1E0E3F), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Navy itself.
| Colour | HEX | Contrast with Navy | Body text AA |
|---|---|---|---|
| Yellow | #FFF200 | 13.69:1 | Pass |
| Lemon Yellow | #F8ED43 | 13.10:1 | Pass |
| Apricot Yellow | #FFDD00 | 11.89:1 | Pass |
| Cream Yellow | #FDBF68 | 9.78:1 | Pass |
| Light Green Yellow | #C7D14F | 9.65:1 | Pass |
| Citron Yellow | #B2B73E | 7.42:1 | Pass |
| Olive Yellow | #A6A159 | 5.99:1 | Pass |
| Spinel Red | #F27291 | 5.79:1 | Pass |
| Old Rose | #D46D7A | 4.78:1 | Pass |
| Light Mauve | #9A72AA | 4.09:1 | Fail |
| Olive | #837E31 | 3.81:1 | Fail |
| Indian Lake | #C53C69 | 3.22:1 | Fail |
| Rosolanc Purple | #B73F74 | 3.03:1 | Fail |
| Blue | #006EB8 | 2.99:1 | Fail |
| Antwarp Blue | #007190 | 2.87:1 | Fail |
| Brown | #7C4226 | 2.03:1 | Fail |
| Violet | #4F4086 | 1.84:1 | Fail |
| Hay's Russet | #793327 | 1.77:1 | Fail |
| Violet Blue | #40456A | 1.74:1 | Fail |
Palettes with Dull Violet Black
- Combination #95 Hay's Russet · Dull Violet Black
- Combination #106 Antwarp Blue · Dull Violet Black
- Combination #145 Brown · Citron Yellow · Dull Violet Black
- Combination #265 Old Rose · Apricot Yellow · Olive Yellow · Dull Violet Black
- Combination #277 Spinel Red · Rosolanc Purple · Olive · Dull Violet Black
- Combination #289 Lemon Yellow · Light Green Yellow · Violet Blue · Dull Violet Black
- Combination #295 Cream Yellow · Yellow · Blue · Dull Violet Black
- Combination #331 Indian Lake · Dull Violet Black · Light Mauve · Violet
Shades and tints of Navy
Nine lightness steps in OKLCH that keep the hue of Navy. Chroma is reduced only where sRGB cannot show it.
- 100#F0F5FF
- 200#D8E5FF
- 300#B6CEFF
- 400#89B0FF
- 500#588CFF
- 600#3668DD
- 700#1B48BB
- 800#03269A
- 900#001066
:root {
--navy-100: #F0F5FF;
--navy-200: #D8E5FF;
--navy-300: #B6CEFF;
--navy-400: #89B0FF;
--navy-500: #588CFF;
--navy-600: #3668DD;
--navy-700: #1B48BB;
--navy-800: #03269A;
--navy-900: #001066;
}
Text that keeps Navy on screen
Text #000080 on #F0F5FF reaches 14.65:1, which passes WCAG AA for body text. Check it on a dashboard