hexcolors

Color combinations / Green and Blue

Green and Blue color combination

These colors are roughly a third of the wheel apart, a triadic-style pairing that feels lively.

Do they work together?

Not for text. The ratio is 1.67:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.

Contrast is the same in both directions. Check other pairs in the contrast checker.

See it in use

Blue text on green

The quick brown fox jumps over the lazy dog.

Green text on blue

The quick brown fox jumps over the lazy dog.

Make the pair accessible

Keep the hue and adjust lightness until body text passes 4.5:1.

Copy the colors

--green: #008000;
--blue: #0000ff;

More with green

Common questions

Do green and blue go well together?

These colors are roughly a third of the wheel apart, a triadic-style pairing that feels lively. Not for text. The ratio is 1.67:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.

What are the hex codes for green and blue?

Green is #008000 and Blue is #0000FF.

Can I use green text on blue?

Not for text. The ratio is 1.67:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.