Royal blue

#2e5f87

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

Royal blue sits in the blue band, deep and soft. Deep blues like this anchor serious, established brands. Warm oranges and ambers opposite it add energy and grey keeps it professional.

Royal blue color values

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

Hex#2e5f87
RGB46, 95, 135
HSL207, 49%, 35%
HSV207, 66%, 53%
CMYK66%, 30%, 0%, 47%
Lab38.75, -3.2, -27.16
XYZ9.59, 10.51, 24.45
Decimal3039111
Web safe#336699
Pantone301 C
Pantone301 CHex#2e5f87Rgb46 95 135Cmyk66 30 0 47Lab39 -3 -27Darker#10202eDeep#1c3a52Lighter#4684b6

Shades of royal blue

Tints of royal blue

Colors that go with royal blue

Royal blue in print

It converts to cmyk cleanly and holds its character from screen to paper. The cmyk build is 66, 30, 0, 47.

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

Coated stockgloss or silk, C
66 30 0 47
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
65 32 4 53
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.

Royal blue in css

Copy #2e5f87 straight into your stylesheet.

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

How royal blue looks on light and dark

Royal blue and accessibility

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

Textwhite text on this color
6.77:1
AA pass · AA large pass · AAA fail
Textblack text on this color
3.10:1
AA fail · AA large pass · AAA fail

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

Royal blue on a business card, sticker and pattern

A quick look at how #2e5f87 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 royal 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 royal blue into a seamless pattern

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

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

Open in pattern maker

How we calculate these values

The figures for #2e5f87 come from standard color math, shown so you can check them. We convert from sRGB to each space with the standard formulas, so the codes match what design tools show. The coated and uncoated cmyk builds differ because uncoated stock absorbs more ink and gains dot, so the same color needs a heavier, slightly duller build on press. The Pantone value is the closest reference by perceptual color distance and should be treated as a starting point, not a guaranteed match.