Dark blue

#21179e

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

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

Dark blue color values

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

Hex#21179e
RGB33, 23, 158
HSL244, 75%, 35%
HSV244, 85%, 62%
CMYK79%, 85%, 0%, 38%
Lab21.6, 48.57, -69.02
XYZ7.11, 3.4, 32.63
Decimal2168734
Web safe#330099
Pantone2738 C
Pantone2738 CHex#21179eRgb33 23 158Cmyk79 85 0 38Lab22 49 -69Darker#0b0835Deep#140e60Lighter#3629d3

Shades of dark blue

Tints of dark blue

Colors that go with dark blue

Dark blue in print

It is saturated enough that the cmyk build can shift slightly from screen to press, so proof it. The cmyk build is 79, 85, 0, 38.

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

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

This color is saturated enough to sit near the edge of cmyk gamut, so expect a small drop in punch on paper and proof it before a long run.

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

Dark blue in css

Copy #21179e straight into your stylesheet.

.background { background-color: #21179e; }
.text { color: #21179e; }
.border { border: 2px solid #21179e; }

How dark blue looks on light and dark

Dark blue and accessibility

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

Textwhite text on this color
12.49:1
AA pass · AA large pass · AAA pass
Textblack text on this color
1.68:1
AA fail · AA large fail · AAA fail

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

Dark blue on a business card, sticker and pattern

A quick look at how #21179e 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 dark blue? Pull matching colors from any photo with the color palette generator, or check a design for print with the rgb to cmyk converter.

Turn dark blue into a seamless pattern

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

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

Open in pattern maker

How we calculate these values

Here is how the numbers for #21179e 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. For Pantone we return the nearest reference by perceptual distance, which gets you close but is not a substitute for a physical swatch book.