hexcolors

Color combinations / Red and Blue

Red 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 2.15: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 red

The quick brown fox jumps over the lazy dog.

Red 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

--red: #ff0000;
--blue: #0000ff;

More with red

Common questions

Do red 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 2.15:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.

What are the hex codes for red and blue?

Red is #FF0000 and Blue is #0000FF.

Can I use red text on blue?

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