Navy Color (#000080)
Navy is a CSS named color defined as hex code #000080. Navy is blue at half strength with no red or green: a very dark, classic blue named after naval uniforms..
Color Overview & Formats
navyLuminance: 0.0156| Format | Syntax / Values | Notes | Action |
|---|---|---|---|
| HEX | #000080 | 6-digit hex web code | |
| RGB | rgb(0, 0, 128) | Red, Green, Blue channels (0-255) | |
| HSL | hsl(240, 100%, 25%) | Hue (240°), Saturation (100%), Lightness (25%) | |
| HSV / HSB | hsv(240, 100%, 50%) | Hue, Saturation (100%), Value/Brightness (50%) | |
| CMYK | cmyk(100%, 100%, 0%, 50%) | Digital mathematical approximation (non-print) | |
| OKLCH | oklch(0.271 0.188 264.1) | Perceptually uniform color space (CSS Color 4 approximation) |
background-color: #000080; /* or navy */- Select color format: Choose the desired format (HEX #000080, RGB, or HSL).
- Copy the code: Click the copy button or press Tab+Enter to store in clipboard.
- Pair with white text: White text on Navy reaches 16.01:1 (WCAG AAA).
What Colors Go With Navy?
These 6 colors all go well with Navy (#000080), and each one is a standard CSS named color. The ratio is the WCAG 2.2 contrast of that color on Navy: at 4.5:1 or above it works for text; below that, use it for backgrounds and accents.
Harmonious Palettes & Tints
The palettes below are algorithmically generated across standard intervals based on Navy (HSL 240°). Each group offers full palette copy and live preview:
Complementary Harmony
Hue rotated 180 degrees on the HSL wheel (240° to 60°), keeping the original saturation and lightness.
Analogous Harmony
Hues 30 degrees either side (210° and 270°), keeping the original saturation and lightness.
Triadic Harmony
Hues spaced evenly by 120 degrees (0° and 120°), keeping the original saturation and lightness.
Tints & Shades
Mixed with white (tints) and black (shades) in sRGB at 60% and 30%.
WCAG 2.2 Text Readability & Contrast Check
Under WCAG 2.2 criteria, regular body text requires at least 4.5:1 (AA) and large text requires at least 3.0:1. The table below displays calculated contrast ratios:
| Foreground Color | Contrast Ratio | Normal Text (AA) | Large Text (AA) | Normal Text AAA (>= 7.0:1) |
|---|---|---|---|---|
Pure Black (#000000) | 1.31:1 | Fail | Fail | Fail |
Pure White (#FFFFFF) | 16.01:1 | Pass | Pass | Pass |
Dark Charcoal (#212529) | 1.04:1 | Fail | Fail | Fail |
Mid Gray (#666666) | 2.79:1 | Fail | Fail | Fail |
Interactive Contrast Tester
Enter text foreground and background colors to verify WCAG legibility:
This is sample body text rendered directly to verify contrast and readability.
Navy Background Download
Download standard 1920x1080 solid desktop wallpaper or generate mobile wallpaper:
Standard Wallpaper: 1920x1080 PNG (#000080)Download Options
All wallpaper files precisely match the W3C standard color value:
CSS Standard & Usage Notes
navy = #000080 (rgb(0, 0, 128))
UI Design & Accessibility Guidelines
Use it for headers, footers, body text on light pages, and corporate, finance and formal palettes. On Navy, white text passes WCAG AAA at every size (16.01:1); black text fails even for large text (1.31:1).
Frequently Asked Questions (FAQ)
Can I use black text on Navy?
No. Black text on Navy has a WCAG 2.2 contrast ratio of only 1.31:1, below the 3:1 minimum even for large text.
Can I use white text on Navy?
Yes. White text on Navy has a WCAG 2.2 contrast ratio of 16.01:1, passing both AA (4.5:1) and AAA (7:1) at every text size.
What colors go with Navy?
White, Gold, Light Sky Blue, Pink, Coral and Silver all go well with Navy. White (16.01:1), Gold (11.41:1), Light Sky Blue (9.33:1), Pink (10.41:1), Coral (6.41:1) and Silver (8.8:1) have enough contrast for text on Navy.
Is navy the same as midnight blue?
No. Navy (#000080) is a pure dark blue, while Midnight Blue (#191970) has some red and green mixed in, which makes it less saturated and a little softer.