Royal blue

#5168f6

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

Royal blue is a mid blue that reads balanced. A mid blue this balanced is a workhorse for corporate identity. It pairs with warm neutrals for balance, or with a brighter accent for contrast.

Royal blue color values

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

Hex#5168f6
RGB81, 104, 246
HSL232, 90%, 64%
HSV232, 67%, 96%
CMYK67%, 58%, 0%, 4%
Lab49.86, 36.38, -73.73
XYZ24.98, 18.3, 89.41
Decimal5335286
Web safe#6666ff
Pantone2727 C
Pantone2727 CHex#5168f6Rgb81 104 246Cmyk67 58 0 4Lab50 36 -74Darker#0920afDeep#0d2df2Lighter#9aa7f4

Shades of royal blue

Tints of royal blue

Colors that go with royal blue

Royal blue 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 67, 58, 0, 4.

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

Coated stockgloss or silk, C
67 58 0 4
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
66 57 4 10
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 readrgb vs cmyk for print andwhat the k in cmyk means.

Royal blue in css

Copy #5168f6 straight into your stylesheet.

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

How royal blue looks on light and dark

Royal blue and accessibility

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

Textwhite text on this color
4.51:1
AApass · AA largepass · AAAfail
Textblack text on this color
4.66:1
AApass · AA largepass · AAAfail

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

Royal blue on a business card, sticker and pattern

A quick look at how #5168f6 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 thecolor palette generator, or check a design for print with thergb to cmyk converter.

Turn royal blue into a seamless pattern

Four patterns built from #5168f6 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

Every value on this page for #5168f6 is computed, not guessed. Rgb, hsl, hsv, lab and xyz are derived through the usual sRGB conversion formulas. 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.