Navy Color

HEX, RGB, HSL & CMYK Codes

#000080
Format Value
HEX #000080
RGB rgb(0, 0, 128)
HSL hsl(240, 100%, 25.1%)
CMYK cmyk(100%, 100%, 0%, 49.8%)
HSV hsv(240, 100%, 50.2%)

navy color harmonies

Tints & shades of navy

Tints (lighter)

#17178c #2e2e97 #4646a3 #5d5dae #7474ba #8b8bc5 #a2a2d1 #b9b9dc #d1d1e8 #e8e8f3

Shades (darker)

#000074 #000069 #00005d #000051 #000046 #00003a #00002f #000023 #000017 #00000c

Contrast & accessibility

The quick brown fox

On white · 16.01:1 · AAA

The quick brown fox

On black · 1.31:1 · Fail

Recommended text color: #ffffff

Use navy in code

CSS color: #000080;
SCSS $color: #000080;
Tailwind bg-[#000080]
Swift UIColor(red: 0.000, green: 0.000, blue: 0.502, alpha: 1)
Android Color.parseColor("#000080")
Flutter Color(0xFF000080)

Colors similar to navy

Browse all Blue colors →

What is the HEX code for navy?

The CSS color navy in HEX format is #000080. Use this value directly in CSS, SVG, and most design tools.

How do I use navy in CSS?

To apply navy in CSS:

  • Text color: color: #000080;
  • Background: background-color: #000080;
  • Border: border-color: #000080;

What are all the color format values for navy?

FormatValue
HEX#000080
RGBrgb(0, 0, 128)
HSLhsl(240, 100%, 25.1%)
CMYKcmyk(100%, 100%, 0%, 49.8%)

How do I convert navy to HEX?

Select navy from the color name list in our color converter. The HEX value — #000080 — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does navy belong to?

navy belongs to the blue color family. It is a dark, vivid color with HSL values: hue 240°, saturation 100%, lightness 25.1%.

How do I create lighter and darker shades of navy?

Lighter variant (lightness 40.1%): #0000cd. Darker variant (lightness 10.100000000000001%): #000034. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.