Midnight blue

#35215f

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

Midnight blue is a deep purple with a serious cast. Deep purples like this carry luxury and craft. Yellow greens across the wheel wake it up and soft greys let it stay refined.

Midnight blue color values

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

Hex#35215f
RGB53, 33, 95
HSL259, 48%, 25%
HSV259, 65%, 37%
CMYK44%, 65%, 0%, 63%
Lab18.67, 25.58, -33.72
XYZ4.08, 2.67, 11.13
Decimal3481951
Web safe#333366
Pantone2766 C
Pantone2766 CHex#35215fRgb53 33 95Cmyk44 65 0 63Lab19 26 -34Darker#19102dDeep#2a1a4cLighter#54388f

Shades of midnight blue

#2d1c51#291949#251742#21143b#1d1234#190f2c#150d25#110a1e#0d0817

Tints of midnight blue

#442a7a#533495#623db0#7550c2#8a6bcb#9f86d5#b5a1de#cabce8#dfd7f1#f5f2fa

Colors that go with midnight blue

Complementary#4b5f21Analogous#212c5fAnalogous#54215fTriadic#5f3521Triadic#215f35Split complementary#5f5421Split complementary#2c5f21

Midnight blue in print

It converts to cmyk cleanly and holds its character from screen to paper. The cmyk build is 44, 65, 0, 63.

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

Coated stockgloss or silk, C
44 65 0 63
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
44 64 4 69
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.

Midnight blue in css

Copy #35215f straight into your stylesheet.

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

How midnight blue looks on light and dark

Midnight blue and accessibility

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

Textwhite text on this color
13.69:1
AA pass · AA large pass · AAA pass
Textblack text on this color
1.53:1
AA fail · AA large fail · AAA fail

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

Midnight blue on a business card, sticker and pattern

A quick look at how #35215f 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 midnight 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 midnight blue into a seamless pattern

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

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

Open in pattern maker

How we calculate these values

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