Navy

#040f78

Hex, rgb, cmyk and Pantone values for navy, with shades, tints, matching colors and free print quality patterns.

This is Navy, a vivid blue at 234 degrees. Deep blues like this anchor serious, established brands. It pairs with warm neutrals for balance, or with a brighter accent for contrast.

Navy color values

Every conversion for #040f78, ready to copy. Hex, rgb, hsl, hsv, cmyk, cie-lab, xyz, decimal, web safe and the nearest Pantone.

Hex#040f78
RGB4, 15, 120
HSL234, 94%, 24%
HSV234, 97%, 47%
CMYK97%, 88%, 0%, 53%
Lab13.96, 38.93, -57.92
XYZ3.61, 1.72, 17.91
Decimal266104
Web safe#000066
Pantone662 C
Pantone662 CHex#040f78Rgb4 15 120Cmyk97 88 0 53Lab14 39 -58Darker#02073bDeep#030c63Lighter#0f1fb4

Shades of navy

Tints of navy

Colors that go with navy

Navy in print

A color this vivid sometimes sits just outside cmyk gamut, so expect a small dip in punch on paper. The cmyk build is 97, 88, 0, 53.

The same color needs a different cmyk build depending on the paper. Here is #040f78 on both.

Coated stockgloss or silk, C
97 88 0 53
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
93 85 4 59
The stock absorbs ink and gains dot, so it needs a heavier build and reads a touch softer.

This color converts to cmyk comfortably and should hold on press.

See how it converts in the rgb to cmyk converter, or read rgb vs cmyk for print and what the k in cmyk means.

Navy in css

Copy #040f78 straight into your stylesheet.

.background { background-color: #040f78; }
.text { color: #040f78; }
.border { border: 2px solid #040f78; }

How navy looks on light and dark

Navy and accessibility

Contrast ratios for #040f78 against black and white text, measured to the WCAG standard.

Textwhite text on this color
15.62:1
AA pass · AA large pass · AAA pass
Textblack text on this color
1.34:1
AA fail · AA large fail · AAA fail

Use white text on this color for readable body copy. To test #040f78 against any other color, not just black and white, run the pair through our contrast checker for a live WCAG reading.

Navy on a business card, sticker and pattern

A quick look at how #040f78 sits on real print products. Start any of these in the maker.

Your nameFounderhello@brand.comBusiness card
Sticker
Repeat pattern

Building a full palette around navy? Pull matching colors from any photo with the color palette generator, or check a design for print with the rgb to cmyk converter.

Turn navy into a seamless pattern

Four patterns built from #040f78 and its shades, free at print quality. Click any one to keep editing in the pattern maker.

Make posters, wallpaper and packaging art from navy, free and print ready.

Open in pattern maker

How we calculate these values

Here is how the numbers for #040f78 are worked out. The rgb, hsl, hsv, cie-lab and xyz values follow the standard conversions from the sRGB color space. The uncoated cmyk build carries more ink than the coated one, which is what a printer would compensate for when the same color runs on a rougher stock. The Pantone figure is the nearest match in our reference set by perceptual distance and it is an approximation, not an exact spot color.