#000080
navy
#000080 is the CSS named color "navy", an exact match. In RGB it breaks down to red 0, green 0, and blue 128 out of 255 each. In HSL terms that's a hue of 240°, 100% saturation, and 25% lightness: quite dark, close to black — it works well as body text on a light background or as a near-black UI surface.
Every format
| HEX | #000080 |
| RGB | rgb(0, 0, 128) |
| HSL | hsl(240° 100% 25%) |
| HSB | hsb(240° 100% 50%) |
| OKLCH | oklch(27% 0.188 264°) |
| OKLAB | oklab(27% -0.019 -0.187) |
| LCH | lch(11% 78.7 301°) |
| CMYK | cmyk(100% 100% 0% 50%) |
Shades (darker)
#000080 · #010079 · #030072 · #06006b · #080064
Tints (lighter)
#000080 · #022498 · #133db0 · #2655c9 · #3a6ce2
Shades mix #000080 toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.
On white: 16.01:1 — AAA
On black: 1.31:1 — fails
Frequently asked
- What is #000080 in RGB?
- #000080 is rgb(0, 0, 128) — red 0, green 0, blue 128 out of 255 each.
- Does #000080 pass WCAG contrast on a white background?
- It has a contrast ratio of 16.01:1 against white, which passes WCAG AAA for normal text.
- What's a good background color to pair with #000080?
- White text or a white background gives better contrast (16.01:1) than black (1.31:1).