CSS Named Color

Copy-ready color values

HEX#000080
RGBrgb(0, 0, 128)
HSLhsl(240, 100%, 25%)
HSVhsv(240, 100%, 50%)
CMYK approx.cmyk(100, 100, 0, 50)

Color value table

FormatValueCopy
HEX#000080
RGBrgb(0, 0, 128)
HSLhsl(240, 100%, 25%)
HSVhsv(240, 100%, 50%)
CMYK approx.cmyk(100, 100, 0, 50)
CSS keywordnavy

Contrast and classification

DarkLightness16.01:1Contrast with white1.31:1Contrast with blackBlue / CyanColor family

Shade and tint preview

White 10%
#1A1A8D

White 30%
#4D4DA6

White 70%
#B3B3D9

White 90%
#E6E6F2

Black 10%
#000073

Black 30%
#00005A

Black 70%
#000026

Black 90%
#00000D

Harmony palettes

Complementary

#FFFF7F
#FFFF9E

Analogous

#000071
#000F71

Triadic

#008000
#800000

Split complementary

#FFFF96
#D1D168

Using Navy

Navy works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.

CSS, SCSS, and Tailwind examples

:root {
  --color-navy: #000080;
}

.button-primary {
  background: var(--color-navy);
  color: #ffffff;
}

$navy: #000080;

// Tailwind arbitrary value
class="bg-[#000080] text-white"