← Color combinations

Green and Blue Color Combinations (Bold): Hex Codes and Contrast

How green and blue work together in a bold, saturated version: hex codes, contrast, which should lead, the neutrals and accent to add, and what the pair says.

Green and blue in their bold, saturated versions are a combination people ask about often. Green (Shamrock (#1E9853)) brings nature, growth and renewal; blue (Pan Purple (#4379EA)) brings sky, sea and trust. Put together, the pair reads as energetic and confident. This guide shows how to use them, how readable they are together and which neutrals and accents to add.

How they look together

Measured against each other the two colors reach 1.09:1 (Fail). That is very close, and both are colorful, so where they touch the edge will shimmer. Separate them with a light or dark neutral, or make one clearly lighter than the other.

CombinationContrastLevel
Green on blue1.09:1Fail
Green on a light neutral3.54:1AA large
Blue on a light neutral3.89:1AA large
Green on a dark neutral5.01:1AA
Blue on a dark neutral4.56:1AA

Which one should lead?

Give most of the space to one and use the other as the accent. Here blue is the more saturated of the two, so it draws the eye first. Use it sparingly, as the accent, and let green lead, and keep the other for details, buttons and highlights. A split near 70 to 30 usually feels balanced; an even 50 to 50 makes the eye work to decide what is important.

Neutrals and accents to add

Putting it in a layout

Part of the pageBackgroundText or detailContrast
Hero section#4379EA#1111114.64:1
Cards#FBFAF7#11131817.80:1
Primary button#1E9853#1111115.09:1
Footer#111318#FBFAF717.80:1

That layout gives blue the large areas and green the action. Every row reaches at least 4.5 to 1, so all the text is comfortable to read.

Extending the pair

Two colors rarely cover a whole design. Tints and shades of each give you more steps without introducing a third hue, so the pair stays recognizable.

Common mistakes

As CSS

CSS variablescss
:root {
  --green: #1E9853;
  --blue: #4379EA;
  --paper: #FBFAF7;
  --ink: #111318;
  --accent: #911E99;
}

What the combination says

Green signals go and safe signals and success and confirmation in interfaces. Blue signals links and primary actions in interfaces and information and mandatory-action signs. When both appear, viewers may read either meaning, depending on which leads, so check that the message you want is the one the proportions give.

Where it works