BLUE

Navy

No. 062

#000080rgb(0, 0, 128)hsl(240, 100%, 25%)

Navy is #000080, rgb(0, 0, 128).

In CSS: navy

Conversions
HEX#000080
RGBrgb(0, 0, 128)
HSLhsl(240, 100%, 25%)
HSVhsv(240, 100%, 50%)
CMYKcmyk(100%, 100%, 0%, 50%)
Copy CSS
color: #000080; /* rgb */ color: rgb(0, 0, 128); /* hsl */ color: hsl(240, 100%, 25%);
Shades
Tints

Colors that go with Navy

Contrast

1 of 2 backgrounds pass AA

  1. On whitePass16.01 : 1
  2. On ink blackFail1.20 : 1

About Navy

Navy is the hex color #000080, which translates to rgb(0, 0, 128) in RGB and hsl(240, 100%, 25%) in HSL. On the color wheel it sits at 240 degrees, with a saturation of 100 percent and a lightness of 25 percent. That combination gives Navy a saturated mid tone: strong enough for buttons and links, still calm enough for larger areas.

How Navy compares

Navy is exactly the CSS keyword navy, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is violet-900 (#4D179A), at a distance of 13.7. Inside this library the closest neighbour is Dark Blue at 5.3. Sorted by lightness, Navy is number 2 of the 30 blue colors here.

Text on Navy

2 of the five common text colors below clear WCAG AA for normal text on Navy, led by White at 16.01:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Navy already loaded as the background.

Contrast of common text colors on Navy. AA normal text needs 4.5:1, AA large text and non-text elements need 3:1, AAA normal text needs 7:1.
Text colorRatioAA normalAA largeAAA normal
White #FFFFFF16.01:1PassPassPass
Ink black #0F0F121.20:1FailFailFail
Mid grey #6B72803.31:1FailPassFail
Dark grey #3741511.55:1FailFailFail
Light grey #E5E7EB12.93:1PassPassPass

Building a palette around Navy

The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Navy for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color, or open the palette generator with Navy locked and let it fill in the rest.

Full values for Navy

FormatValue
HEX#000080
RGBrgb(0, 0, 128)
HSLhsl(240, 100%, 25%)
HSVhsv(240, 100%, 50%)
CMYKcmyk(100%, 100%, 0%, 50%)
OKLCHoklch(27.11% 0.1879 264.05)
CIELABlab(12.97 47.50 -64.70)

Frequently asked questions

What is the RGB value of Navy?

Navy (#000080) is rgb(0, 0, 128): 0 red, 0 green and 128 blue on the 0 to 255 scale. Blue leads at 128 while red and green both sit at 0, which puts the hue at 240 degrees. In HSL the same color is hsl(240, 100%, 25%).

What colour is #000080?

#000080 is Navy, a dark blue colour with a hue of 240 degrees, 100% saturation and 25% lightness. For print the CMYK breakdown is 100% cyan, 100% magenta, 0% yellow and 50% black. Its nearest neighbour in this library is Dark Blue, 5.3 away in CIELAB, a difference you can see.

Is Navy a CSS color name?

Yes. The keyword navy is one of the 148 named colors in CSS Color Module Level 4, so color: navy; renders exactly #000080.

What colors go with Navy?

Opposite Navy on the color wheel sits the complementary #808000 (Olive), the boldest accent by hue. For a calmer scheme use the analogous neighbours #004080 and #400080 (close to Indigo); for a balanced three-color scheme use the triadic pair #800000 (Maroon) and #008000 (Green). Of these, #808000 has the most contrast against Navy, at 3.82:1, enough for icons and large text.

What text color is readable on Navy?

White (#FFFFFF) is the most readable on Navy, at 16.01:1, which also clears WCAG AAA (7:1). 2 of the 5 common text colors tested pass AA for normal text.

Use Navy in a tool

Nearby colors

Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.