Navy — #000080

Navy (#000080) is a dark, vivid blue. It is a CSS named color, so you can use it in stylesheets as color: navy as well as by its hex code. In RGB it is rgb(0, 0, 128); in HSL, hsl(240, 100%, 25%).

#000080

Color conversions

Hex#000080
CSS namenavy
RGBrgb(0, 0, 128)
HSLhsl(240, 100%, 25%)
CMYK100%, 100%, 0%, 50%
CSS examplecolor: #000080; background-color: rgb(0, 0, 128);

Tints and shades of #000080

The hue stepped through seven lightness levels, each matched to the closest named or web-safe color — useful for backgrounds, borders, text and hover states that all belong to one family. Click any swatch for its full breakdown.

Color schemes with #000080

Complementary — maximum contrast, from opposite sides of the color wheel:

Analogous — neighbours on the wheel, naturally harmonious:

Triadic — three colors evenly spaced for balanced variety:

Tetradic — four colors at 90° intervals:

Text contrast and accessibility

On a #000080 background, white text gives the better contrast. WCAG requires 4.5:1 for normal text and 3:1 for large text (AA), or 7:1 and 4.5:1 for AAA.

Text colorContrast ratioNormal textLarge text
White text (#ffffff)16.01:1AAAAAA
Black text (#000000)1.31:1FailsFails

Similar named colors

The CSS named colors closest to #000080: