Swatchproof

Navy #000080

Navy is one of the named colours in CSS, written navy. White text reaches 16.01:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keywordnavy
HEX#000080
RGBrgb(0 0 128)
HSLhsl(240 100% 25%)
OKLCHoklch(27.1% 0.188 264.1)
White text16.01:1 · body text AA Pass
Black text1.31:1 · body text AA Fail

Colours that go with Navy

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Dull Violet Black (#1E0E3F), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Navy itself.

ColourHEXContrast with NavyBody text AA
Yellow#FFF20013.69:1Pass
Lemon Yellow#F8ED4313.10:1Pass
Apricot Yellow#FFDD0011.89:1Pass
Cream Yellow#FDBF689.78:1Pass
Light Green Yellow#C7D14F9.65:1Pass
Citron Yellow#B2B73E7.42:1Pass
Olive Yellow#A6A1595.99:1Pass
Spinel Red#F272915.79:1Pass
Old Rose#D46D7A4.78:1Pass
Light Mauve#9A72AA4.09:1Fail
Olive#837E313.81:1Fail
Indian Lake#C53C693.22:1Fail
Rosolanc Purple#B73F743.03:1Fail
Blue#006EB82.99:1Fail
Antwarp Blue#0071902.87:1Fail
Brown#7C42262.03:1Fail
Violet#4F40861.84:1Fail
Hay's Russet#7933271.77:1Fail
Violet Blue#40456A1.74:1Fail

Palettes with Dull Violet Black

Shades and tints of Navy

Nine lightness steps in OKLCH that keep the hue of Navy. Chroma is reduced only where sRGB cannot show it.

:root {
  --navy-100: #F0F5FF;
  --navy-200: #D8E5FF;
  --navy-300: #B6CEFF;
  --navy-400: #89B0FF;
  --navy-500: #588CFF;
  --navy-600: #3668DD;
  --navy-700: #1B48BB;
  --navy-800: #03269A;
  --navy-900: #001066;
}

Text that keeps Navy on screen

Text #000080 on #F0F5FF reaches 14.65:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours