Close to Zaffre
#040CB5
#040CB5 is a dark, vivid blue, close to the color Zaffre. In RGB it’s made of 1.6% red, 4.7% green, and 71% blue. Its hue is 237°, with 96% saturation and 36% lightness, so it reads as a cool color. White text sits best on top of it.
Color codes
Tints, shades & tones
Tints add white, shades add black, tones add gray. Tap any one to open its page.
Tints
Shades
Tones
Color harmonies
Combinations from the color wheel, built around #040CB5.
Split complementary
The two neighbors of the complement: contrast that’s easier to balance.
Open in the palette builder →Tetradic
Two complementary pairs: rich, best with one color in charge.
Open in the palette builder →Contrast & readability
WCAG contrast ratios for text. 4.5:1 is the minimum for body text, 3:1 for large text.
White text on this color
12.17:1 AAABlack text on this color
1.72:1 FailThis color as text on white
12.17:1 AAAThis color as text on black
1.72:1 FailHow it looks with color blindness
About 1 in 12 men and 1 in 200 women see color differently. Here’s #040CB5 as they’d see it.
#040CB5 in use
A headline in this color
Body text stays dark for reading; the color carries buttons, links, and accents.
On a dark background
Get startedSimilar colors
Questions about #040CB5
What color is #040CB5?
#040CB5 is a dark, vivid blue, close to the color Zaffre. In RGB it’s made of 1.6% red, 4.7% green, and 71% blue. Its hue is 237°, with 96% saturation and 36% lightness, so it reads as a cool color. White text sits best on top of it.
What is #040CB5 in RGB?
#040CB5 is rgb(4, 12, 181): 4 red, 12 green, and 181 blue on a 0–255 scale.
What is #040CB5 in CMYK?
Roughly cmyk(98, 93, 0, 29). Print results depend on paper and press, so proof it before a big print run.
What Pantone is closest to #040CB5?
PANTONE Violet C is the closest match in our list. Screen colors and ink never match perfectly; check a physical Pantone guide.
What color goes with #040CB5?
Its complement #3A3700 gives the strongest contrast. For something calmer, try its analogous neighbors, or its own tints and shades above.