Medium blue

#511fb1

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

This is Medium blue, a strong purple at 261 degrees. Deep purples like this carry luxury and craft. Pair it with warm yellows for contrast, or with charcoal for a moody scheme.

Medium blue color values

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

Hex#511fb1
RGB81, 31, 177
HSL261, 70%, 41%
HSV261, 82%, 69%
CMYK54%, 82%, 0%, 31%
Lab29.17, 54.88, -67.84
XYZ11.82, 5.9, 42.11
Decimal5316529
Web safe#663399
Pantone2736 C
Pantone2736 CHex#511fb1Rgb81 31 177Cmyk54 82 0 31Lab29 55 -68Darker#190a37Deep#351474Lighter#7543d5

Shades of medium blue

Tints of medium blue

Colors that go with medium blue

Medium blue in print

It converts to cmyk cleanly and holds its character from screen to paper. The cmyk build is 54, 82, 0, 31.

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

Coated stockgloss or silk, C
54 82 0 31
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
54 79 4 37
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.

Medium blue in css

Copy #511fb1 straight into your stylesheet.

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

How medium blue looks on light and dark

Medium blue and accessibility

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

Textwhite text on this color
9.63:1
AA pass · AA large pass · AAA pass
Textblack text on this color
2.18:1
AA fail · AA large fail · AAA fail

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

Medium blue on a business card, sticker and pattern

A quick look at how #511fb1 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 medium 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 medium blue into a seamless pattern

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

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

Open in pattern maker

How we calculate these values

Here is how the numbers for #511fb1 are worked out. We convert from sRGB to each space with the standard formulas, so the codes match what design tools show. Two cmyk builds are shown because coated and uncoated papers behave differently, uncoated soaks up ink and needs more of it to hit the same target. For Pantone we return the nearest reference by perceptual distance, which gets you close but is not a substitute for a physical swatch book.