hexcolors

Color combinations / Blue and White

Blue and White color combination

One of the two is a neutral, which makes this an easy, safe pairing.

Do they work together?

Yes. Blue and White have a contrast ratio of 8.59:1, which passes WCAG AA for body text.

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

See it in use

White text on blue

The quick brown fox jumps over the lazy dog.

Blue text on white

The quick brown fox jumps over the lazy dog.

Copy the colors

--blue: #0000ff;
--white: #ffffff;

More with blue

Common questions

Do blue and white go well together?

One of the two is a neutral, which makes this an easy, safe pairing. Yes. Blue and White have a contrast ratio of 8.59:1, which passes WCAG AA for body text.

What are the hex codes for blue and white?

Blue is #0000FF and White is #FFFFFF.

Can I use blue text on white?

Yes. Blue and White have a contrast ratio of 8.59:1, which passes WCAG AA for body text.