Close to Midnight Blue
#331E7A
#331E7A is a dark, rich blue, close to the color Midnight Blue. In RGB it’s made of 20% red, 11.8% green, and 47.8% blue. Its hue is 254°, with 61% saturation and 30% 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 #331E7A.
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
13.06:1 AAABlack text on this color
1.61:1 FailThis color as text on white
13.06:1 AAAThis color as text on black
1.61:1 FailHow it looks with color blindness
About 1 in 12 men and 1 in 200 women see color differently. Here’s #331E7A as they’d see it.
#331E7A 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
Brands with a similar color
Brand names identify the brands only; no affiliation. Test yourself in Brand Colors.
Questions about #331E7A
What color is #331E7A?
#331E7A is a dark, rich blue, close to the color Midnight Blue. In RGB it’s made of 20% red, 11.8% green, and 47.8% blue. Its hue is 254°, with 61% saturation and 30% lightness, so it reads as a cool color. White text sits best on top of it.
What is #331E7A in RGB?
#331E7A is rgb(51, 30, 122): 51 red, 30 green, and 122 blue on a 0–255 scale.
What is #331E7A in CMYK?
Roughly cmyk(58, 75, 0, 52). Print results depend on paper and press, so proof it before a big print run.
What Pantone is closest to #331E7A?
PANTONE 273 C is the closest match in our list. Screen colors and ink never match perfectly; check a physical Pantone guide.
What color goes with #331E7A?
Its complement #293500 gives the strongest contrast. For something calmer, try its analogous neighbors, or its own tints and shades above.