Navy Blue color: hex code #000080

#000080 rgb(0, 0, 128)
Shades of blue

Navy Blue has the hex code #000080. It is a dark, vivid blue.

In the RGB color model it is made of 0% red, 0% green and 50.2% blue (0, 0, 128).

Its hue angle is 240°, with 100% saturation and 25% lightness. For print, the CMYK equivalent is 100% cyan, 100% magenta, 0% yellow and 50% black.

This exact color is also called Navy.

White text is the more readable choice on this background (contrast 16.01:1).

Navy Blue (#000080) color codes

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%)
CIE LABlab(12.97, 47.5, -64.7)
CIE LCHlch(12.97, 80.27, 306.28)
CIE XYZxyz(3.895, 1.558, 20.513)
Decimal128
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Navy Blue, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #000080RatioAAAAAAA large
Sample text1.31:1FailFailFail
Sample text16.01:1PassPassPass
#000080 as text onRatioAAAAAAA large
Sample text16.01:1PassPassPass
Sample text1.31:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #000080 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #000080; }
.text { color: #000080; }
.border { border: 2px solid #000080; }
.transparent { background-color: rgb(0 0 128 / 50%); }
.gradient { background: linear-gradient(to right, #000080, #400080); }
Background
Text color
Border

Similar colors

See #000080 on its hex code page

Questions

What color is #000080?
#000080 is a dark, vivid blue known as Navy Blue. It belongs to the blue family of colors.
What is the RGB value of Navy Blue?
The RGB value is 0, 0, 128: 0 red, 0 green and 128 blue on a 0 to 255 scale.
What is the complementary color of Navy Blue?
The complementary color is #808000, found by rotating the hue 180° on the color wheel.
Is black or white text better on #000080?
White text. Black text has a contrast ratio of 1.31:1 and white text 16.01:1. WCAG asks for at least 4.5:1 for normal text.