Medium blue

#331fbc

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 blue at 248 degrees. 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 #331fbc, ready to copy. Hex, rgb, hsl, hsv, cmyk, cie-lab, xyz, decimal, web safe and the nearest Pantone.

Hex#331fbc
RGB51, 31, 188
HSL248, 72%, 43%
HSV248, 84%, 74%
CMYK73%, 84%, 0%, 26%
Lab27.61, 55.17, -77.05
XYZ10.93, 5.31, 48.03
Decimal3350460
Web safe#3333cc
Pantone2736 C
Pantone2736 CHex#331fbcRgb51 31 188Cmyk73 84 0 26Lab28 55 -77Darker#120b41Deep#22157fLighter#5c4ad8

Shades of medium blue

Tints of medium blue

Colors that go with medium blue

Medium blue in print

The cmyk build is well inside gamut, so what you see on screen is close to what prints. The cmyk build is 73, 84, 0, 26.

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

Coated stockgloss or silk, C
73 84 0 26
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
71 81 4 32
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 #331fbc straight into your stylesheet.

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

How medium blue looks on light and dark

Medium blue and accessibility

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

Textwhite text on this color
10.18:1
AA pass · AA large pass · AAA pass
Textblack text on this color
2.06:1
AA fail · AA large fail · AAA fail

Use white text on this color for readable body copy. To test #331fbc 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 #331fbc 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 #331fbc 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 #331fbc are worked out. The rgb, hsl, hsv, cie-lab and xyz values follow the standard conversions from the sRGB color space. 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.