Navy color — #000080
Navy is a CSS named color with the HEX code #000080, RGB value rgb(0, 0, 128) and HSL value hsl(240, 100%, 25%).
Blue
Navy
#000080
Color codes
- HEX
- #000080
- RGB
- rgb(0, 0, 128)
- HSL
- hsl(240, 100%, 25%)
- HSV
- hsv(240, 100%, 50%)
- CMYK
- cmyk(100%, 100%, 0%, 50%)
- OKLCH
- oklch(27.11% 0.1879 264.05)
CSS usage
In CSS you can use the keyword or any equivalent value:
.element {
color: navy;
background-color: #000080;
border-color: rgb(0, 0, 128);
outline-color: hsl(240, 100%, 25%);
}Shades
Tints
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Contrast ratio
Contrast ratio against white and black text, per WCAG 2.2.
Navy — On white16.00:1 · AAA
Navy — On black1.31:1 · Fail