Navy color: hex codes, shades and palettes
Palettes built around navy. Click any swatch to copy its hex code.
Navy is #000080 — deep vivid blue. Below are its shades with hex codes, the values in every common format, and navy color palettes to copy.
No navy palettes yet
Run npm run generate to build the dataset.
Navy hex, RGB, HSL and OKLCH
- HEX
#000080- RGB
rgb(0, 0, 128)- HSL
hsl(240, 100%, 25%)- OKLCH
oklch(27.1% 0.188 264.1)- On white
- 16.01:1
- On black
- 1.31:1
Shades of navy
Eleven steps from one base color, generated in OKLCH so each step is an equal perceived step rather than an equal numeric one. Click a swatch to copy it.
Contrast and readability
Navy on white measures 16.01:1 and on black 1.31:1. WCAG AA asks for 4.5:1 on normal text and 3:1 on large text and UI components, so the higher of those two decides which background it belongs on. In the scale above, 500 is the first to clear 4.5:1 on white, at 5.44:1.
The contrast checker reports every level for a given pair and suggests the nearest passing shade on the same hue. The color picker builds this same scale from any color you paste in.
Related colors:blue, royal blue, cobalt, periwinkle, transparent blue, steel blue. See every shade on the colors index.