#000080 color (navy)

#000080 is rgb(0, 0, 128) in RGB and hsl(240, 100%, 25%) in HSL. It is exactly the CSS color navy. Use white text on it (contrast 16.01:1).

#000080navy
HEX#000080
RGBrgb(0, 0, 128)
RGB percentrgb(0%, 0%, 50.2%)
HSLhsl(240, 100%, 25%)
HSV / HSBhsv(240, 100%, 50%)
CMYKcmyk(100%, 100%, 0%, 50%)
CIELAB (D65)lab(13 47.5 -64.7)

Edit in the color converter → · Check contrast → · Shades →

About #000080

#000080 is a dark, vivid indigo with a hue angle of 240°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 128 (50%) and red the weakest at 0 (0%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#000080
RGBrgb(0, 0, 128)
RGB percentrgb(0%, 0%, 50.2%)
HSLhsl(240, 100%, 25%)
HSV / HSBhsv(240, 100%, 50%)
CMYKcmyk(100%, 100%, 0%, 50%)
CIELAB (D65)lab(13 47.5 -64.7)
Decimal128
Binary00000000 00000000 10000000

HEX 00 00 80 → 0, 0, 128 (each pair is a base-16 number: 0×16 + 0 = 0)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #000080

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #000080RatioAA normalAA largeAAA normalAAA large
White text16.01:1PassPassPassPass
Black text1.31:1FailFailFailFail
White text on #000080
Black text on #000080
#000080 text on white
#000080 text on black

Relative luminance is 0.0156 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#002883

Deuteranopia
#001a7e

Tritanopia
#003248

Achromatopsia
#212121

People with red–green color blindness see this color almost unchanged (ΔE 5 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
navy#0000800
darkblue#00008b1.6
midnightblue#1919705.6
indigo#4b00827.9

CSS

.element {
  color: #000080;
  background-color: rgb(0, 0, 128);
  border: 1px solid hsl(240, 100%, 25%);
  box-shadow: 0 2px 8px rgb(0 0 128 / 50%);
}
:root { --brand: #000080; }

Frequently asked questions

What color is #000080?
A dark vivid indigo in the blue family. Closest CSS name: navy.
What is #000080 in RGB?
rgb(0, 0, 128): red 0, green 0, blue 128.
What is the complementary color of #000080?
#808000, found by rotating the hue 180°.