navy

#000080 · CSS color name

navy is the CSS color name for #000080: RGB(0, 0, 128), HSL(240°, 100%, 25%), CMYK(100%, 100%, 0%, 50%). Contrast is 16.01:1 on white and 1.31:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#000080
CSS color namenavy
RGBrgb(0 0 128)
RGB (legacy)rgb(0, 0, 128)
RGB %rgb(0% 0% 50%)
HSLhsl(240 100% 25%)
HSV / HSBhsv(240, 100%, 50%)
HWBhwb(240 0% 50%)
CMYKcmyk(100%, 100%, 0%, 50%)
CIELAB (D50)lab(11.34 40.96 -67.2)
LCHlch(11.34 78.7 301.36)
OKLaboklab(0.2711 -0.0195 -0.1869)
OKLCHoklch(0.2711 0.1879 264.05)
Decimal128

Properties

Color ToneBlue, Sky, Navy
Closest named colornavy ΔE 0
Closest web-safe color#000099
Hue240°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)25%
Brightness or Value (HSV)50%
Luminance (Rec.601 / Rec.709)6% / 4%
Relative luminance (WCAG)0.0156
Red / Green / Blue0 / 0 / 128

WCAG 2.2 Contrast Ratio

On White (#ffffff)
16.01:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.31:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 100.9 / 0 · As background with white / black text: Lc -103.9 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-navy: #000080;
  --color-navy-oklch: oklch(27.11% 0.1879 264.05);
}
.text { color: var(--color-navy); }
.background { background-color: var(--color-navy); }
.border { border: 1px solid rgb(0 0 128 / 50%); }
/* Tailwind CSS */
<div class="bg-[#000080] text-[#000080] border-[#000080]">