#000080 color codes
- HEX
- #000080
- HEX8
- #000080FF
- HEX8 (Android)
- #FF000080
- RGB
- rgb(0, 0, 128)
- RGB (%)
- 0%, 0%, 50%
- HSL
- hsl(240, 100%, 25%)
- HSV / HSB
- hsv(240, 100%, 50%)
- CMYK
- cmyk(100%, 100%, 0%, 50%)
- OKLCH
- oklch(0.2711 0.1879 264.05)
- OKLCH (%)
- oklch(27.11% 0.1879 264.05)
- Decimal
- 128
What color is #000080?
#000080 sits at 27% lightness and 0.1879 chroma in OKLCH, hue 264.05°. Its nearest named color is Navy (an exact match).
Shades and tints of #000080
Tints
Shades
Tones
#000080 color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #000080 in CSS
.text { color: #000080; }
.background { background-color: #000080; }
.border { border: 2px solid #000080; }
/* Modern, perceptually uniform */
.text { color: oklch(0.2711 0.1879 264.05); }
/* #000080 at 50% transparency */
.overlay { background-color: #00008080; }Is #000080 accessible?
#000080 on white text scores 16.01:1; on black text it scores 1.31:1. White text passes WCAG AAA on #000080. Recommended text color on a #000080 background: white.
A 1.31:1 vs black
A 16.01:1 vs white
- AA normal ≥ 4.5 Pass
- AA large ≥ 3 Pass
- AAA normal ≥ 7 Pass
- AAA large ≥ 4.5 Pass
Recommended text color: white
CSS
contrast-color() contrast-color(#000080) → white APCA Lc experimental 103.9 Lc · body text — preferred (white text)
WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.
Related colors
Nearest featured color: Blue #0000FF. See more in the blue family on the colors hub.
Frequently asked questions
- What color is #000080?
- #000080 is Navy. In RGB it is rgb(0, 0, 128), and in HSL hsl(240, 100%, 25%).
- What is #000080 in RGB?
- #000080 converts to rgb(0, 0, 128) — red 0, green 0, blue 128.
- What text color is readable on #000080?
- White text — it has the higher contrast ratio (16.01:1) against #000080. White text passes WCAG AAA on #000080.