Medium blue

#271aa8

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

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

Medium blue color values

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

Hex#271aa8
RGB39, 26, 168
HSL245, 73%, 38%
HSV245, 85%, 66%
CMYK77%, 85%, 0%, 34%
Lab23.66, 50.64, -71.66
XYZ8.27, 4.0, 37.38
Decimal2562728
Web safe#333399
Pantone2746 C
Pantone2746 CHex#271aa8Rgb39 26 168Cmyk77 85 0 34Lab24 51 -72Darker#0c0835Deep#19106aLighter#4334d5

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 77, 85, 0, 34.

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

Coated stockgloss or silk, C
77 85 0 34
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
75 82 4 40
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.

Medium blue in css

Copy #271aa8 straight into your stylesheet.

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

How medium blue looks on light and dark

Medium blue and accessibility

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

Textwhite text on this color
11.67:1
AA pass · AA large pass · AAA pass
Textblack text on this color
1.80:1
AA fail · AA large fail · AAA fail

Use white text on this color for readable body copy. To test #271aa8 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 #271aa8 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 #271aa8 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 #271aa8 are worked out. 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. For Pantone we return the nearest reference by perceptual distance, which gets you close but is not a substitute for a physical swatch book.