Close to Medium Blue
#4040FF
#4040FF is a light, vivid blue, close to the color Medium Blue. In RGB it’s made of 25.1% red, 25.1% green, and 100% blue. Its hue is 240°, with 100% saturation and 63% 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 #4040FF.
Split complementary
The two neighbors of the complement: contrast that’s easier to balance.
Open in the palette creator →Tetradic
Two complementary pairs: rich, best with one color in charge.
Open in the palette creator →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
6.18:1 AABlack text on this color
3.40:1 AA LargeThis color as text on white
6.18:1 AAThis color as text on black
3.40:1 AA LargeHow it looks with color blindness
About 1 in 12 men and 1 in 200 women see color differently. Here’s #4040FF as they’d see it.
#4040FF 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 #4040FF
What color is #4040FF?
#4040FF is a light, vivid blue, close to the color Medium Blue. In RGB it’s made of 25.1% red, 25.1% green, and 100% blue. Its hue is 240°, with 100% saturation and 63% lightness, so it reads as a cool color. White text sits best on top of it.
What is #4040FF in RGB?
#4040FF is rgb(64, 64, 255): 64 red, 64 green, and 255 blue on a 0–255 scale.
What is #4040FF in CMYK?
Roughly cmyk(75, 75, 0, 0). Print results depend on paper and press, so proof it before a big print run.
What Pantone is closest to #4040FF?
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 #4040FF?
Its complement #646503 gives the strongest contrast. For something calmer, try its analogous neighbors, or its own tints and shades above.