Color reference

Navy #000080

Navy is the standard CSS named color #000080, a very dark pure-blue reference.

Navy is the CSS named color keyword navy, standardized at #000080 in sRGB.

Navy #000080 16.01:1 with white text

Color values

HEX#000080
RGBrgb(0, 0, 128)
HSLhsl(240 100% 25%)
HSV240°, 100%, 50%
CMYK100%, 100%, 0%, 50%

HEX/RGB/HSL/HSV are deterministic sRGB representations. CMYK here is a mathematical approximation, not a printer-profile conversion.

Black or white text?

Black text 1.31:1 — AA normal text fails
White text 16.01:1 — AA normal text passes

AA normal text: black fails; white passes.

AA large text: black fails; white passes.

WCAG contrast thresholds use 4.5:1 for normal text and 3:1 for large text. Do not round a near-threshold result upward when testing conformance.

Tints and shades of Navy

These steps are computed by RGB-mixing #000080 toward white or black. They are generated values, not official named colors.

80% tint #CCCCE6
60% tint #9999CC
40% tint #6666B3
20% tint #333399
Base #000080
20% shade #000066
40% shade #00004D
60% shade #000033
80% shade #00001A

Need more control? Use the Tints and Shades Generator or Lighten / Darken tool.

CSS usage

.example {
  color: #FFFFFF;
  background-color: navy;
}

You can use either navy or #000080 in CSS; both resolve to the same sRGB color.