Navy Blue Color #000080
Navy Blue color codes
#000080rgb(0, 0, 128)hsl(240, 100%, 25.1%)hsv(240, 100%, 50.2%)oklch(0.271 0.188 264.1)--navy-blue: #000080;White text is the readable choice on Navy Blue: 16.00:1.
About the name navy blue
Named for the dark blue uniforms of the British Royal Navy, worn first by officers and from the late 18th century by sailors. (Wikipedia)
Navy Blue is a CSS named color: you can write navy instead of #000080 in any stylesheet.
Navy Blue shades and tints
Click a swatch to copy it. The middle swatch is the base color; steps are even in OKLCH lightness.
Colors that go with navy blue
Text contrast on navy blue
Navy Blue color palettes
Navy Blue gradients
background: linear-gradient(135deg, #92ACE0 0%, #000080 100%);background: linear-gradient(90deg, #000080 0%, #400080 100%);background: linear-gradient(135deg, #000080 0%, #808000 100%);Navy Blue in CSS
:root {
--navy-blue: #000080;
--navy-blue-rgb: 0, 0, 128;
}
.button {
background: var(--navy-blue);
color: #FFFFFF; /* 16.00:1 */
}Tailwind: bg-[#000080] · text-[#000080]
Colors similar to navy blue
Frequently asked questions
What is the hex code for navy blue?
Navy Blue is #000080 (the CSS color name navy). In RGB it is rgb(0, 0, 128) and in HSL hsl(240, 100%, 25.1%).
What colors go with navy blue?
On the color wheel, navy blue (#000080) pairs with its complement #808000, its analogous colors #004080 and #400080, and the triadic colors #800000 and #008000. Lighter tints and darker shades of navy blue itself also make an easy monochromatic scheme.
What text color works on navy blue?
White text is the readable choice on Navy Blue: 16.00:1. Navy Blue text on white is 16.00:1 (passes WCAG AA for normal text) and on black 1.31:1 (fails).
What is the RGB value of navy blue?
Navy Blue (#000080) is red 0, green 0 and blue 128: rgb(0, 0, 128).
Sources
- W3C, CSS Color Module Level 4: named colors
- Wikipedia, Navy blue (revision 1382248878); text adapted under CC BY-SA 4.0
- Cross-checked: Wikipedia 'List of colors: N–Z' (rev 1384289083), entry 'Navy blue'
- RGB, HSL, OKLCH, shades, harmonies and contrast are computed with SwatchNest's tested color library. Updated 2026-11-24