A page can look polished on your screen and still be hard work to read. The headline is elegant, the brand color is doing its job, and the body text quietly fails its readers. Contrast failures rarely look like failures; they look like design choices, until someone measures them.

The Color Contrast Checker on Ovatly measures a text color against a background color with the WCAG 2.1 relative luminance formula and reports pass or fail for AA and AAA, for normal and large text.

Contents

  • Quick answer
  • What the checker actually measures
  • Mistake 1: judging the pair by eye
  • Mistake 2: checking only one direction
  • Mistake 3: treating a pass as a readability guarantee
  • Mistake 4: spending the bright brand color on body text
  • How to check a pair properly, step by step
  • Worked example: one blue, three verdicts
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

Most unreadable text comes from four mistakes: judging a color pair by eye instead of measuring it, checking only one direction of a pairing used both ways, treating a passing ratio as a guarantee of readable text, and using a bright brand color for body text when it only passes at large-text thresholds. The fix for all four is one habit: enter both colors in the Color Contrast Checker, read the ratio, and check the AA and AAA rows for the size your text actually is.

What the checker actually measures

The checker takes two colors, a text color and a background color, and computes their contrast ratio using the WCAG 2.1 relative luminance formula. It then reports the pair against four thresholds. AA requires 4.5:1 for normal text and 3:1 for large text. AAA is stricter: 7:1 for normal text and 4.5:1 for large text. Large text has a precise meaning here: at least 18pt, or 14pt bold.

Mistake 1: judging the pair by eye

Eyes are good at telling black from white and bad at everything in between. Nobody can look at a blue on white and reliably say whether it measures 4.4:1 or 4.6:1, yet that gap is exactly the distance between failing and passing AA for normal text.

The checker's own worked example shows how deceptive this is. The blue #2563EB on white, #FFFFFF, measures 5.17:1. It looks comfortable, and it passes AA for normal text and AAA for large text. It also fails AAA for normal text, which needs 7:1. If your target is AAA body text, the pair that looked fine is a failing pair, and you would never know without measuring it.

Mistake 2: checking only one direction

Designs reuse pairings in both directions. The brand blue that appears as text on white also appears as a panel with white text on it.

The ratio itself is symmetric, so the number genuinely is the same both ways: white text on #2563EB scores exactly the same 5.17:1 as #2563EB text on white. What changes is the threshold your text must meet, because that depends on its size and role. Blue body text on white is normal text and needs 4.5:1 at AA. White text on a blue panel might be a large heading, needing only 3:1, or a small label, needing the full 4.5:1. Same colors, same ratio, different rows of the table. Use the checker's Swap colors control to give the inverse pairing its own check against its own rows.

Mistake 3: treating a pass as a readability guarantee

A passing ratio means the two colors are far enough apart in luminance. It does not mean the text is comfortable to read. Contrast is only one part of readability: thin font weights and small sizes can still be hard to read at a passing ratio. A hairline typeface at 12px can clear 4.5:1 and still strain the reader.

So read a pass as a floor, not a finish. Clear the threshold first, because below it nothing else saves the text. Then look at the text itself: its weight, its size, and how much of it there is.

Mistake 4: spending the bright brand color on body text

Brand colors are usually chosen to be vivid, and vivid colors tend to pass only where thresholds are low. The mistake is using that bright original for everything, including long body text where the threshold is highest. The pair then fails for the one job that matters most.

The better split keeps both. Darken the brand color one step at a time until the darkened step passes for text, and use that step where the reading happens. Reserve the original bright version for large headings, borders and graphics, which have lower thresholds or none.

How to check a pair properly, step by step

  1. Open the Color Contrast Checker and enter the text color and the background color.
  2. Read the ratio and look at the preview, which shows the pairing as text, the form it has to survive in.
  3. Check the AA and AAA rows for your text size: normal, or large (at least 18pt, or 14pt bold). That choice picks the threshold.
  4. Use Swap colors to test the inverse pairing, and check its rows against the size that direction will carry.
  5. If a direction fails, fix it: darken the text step by step, or split the roles so the bright color moves to headings and graphics.

Worked example: one blue, three verdicts

Take the checker's example pair: text #2563EB on background #FFFFFF. The measured ratio is 5.17:1. Against the four thresholds, that single number produces three different answers. AA for normal text needs 4.5:1, so the pair passes. AAA for large text needs 4.5:1, so it passes there too. AAA for normal text needs 7:1, so it fails.

Nothing about the colors changed between those verdicts. What changed was the question: which standard, and which text size. A contrast check is never just a number; it is a number read against the right row, and most contrast mistakes are really mistakes about which row applies.

Limitations and honest tradeoffs

The checker measures one pair at a time: a text color and a background color. A real page has many pairs, and each needs its own check, including hover and disabled states. It also reports against WCAG 2.1 thresholds only, so a pass is a statement about those thresholds, not about every reader. And the ratio says nothing about font weight or size beyond the large-text definition, so a passing pair still needs a human look before it ships.

Common mistakes

  • Approving a pair in a design review without measuring it. The eye cannot split 4.4:1 from 4.5:1, and that gap decides the AA verdict.
  • Checking text on background but never the swapped pairing. The ratio matches, but the size threshold for the inverse use may not.
  • Stopping at a pass. Thin weights and small sizes can be hard to read at a passing ratio.
  • Replacing a failing brand color outright. A darkened step for text plus the bright original for headings and graphics keeps the brand and passes.

FAQs

What contrast ratio does normal text need? WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text. AAA is stricter: 7:1 for normal text and 4.5:1 for large text. Large text means at least 18pt, or 14pt bold.

Can a color pair look fine and still fail? Yes. #2563EB on white measures 5.17:1, which looks comfortable and passes AA for normal text, but it fails AAA for normal text, which needs 7:1. Looking fine and passing are different tests, which is why the pair has to be measured, not judged by eye.

Does it matter which color is the text and which is the background? The ratio itself is symmetric, so white text on blue scores exactly the same as blue text on white. What changes is the threshold your text must meet, because that depends on the size and role of the text in each direction.

If the ratio passes, is the text guaranteed readable? No. Contrast is only one part of readability. Thin font weights and small sizes can still be hard to read at a passing ratio, so a pass is the floor, not the finish.

My brand color fails for body text. What should I do? Darken it one step at a time until it passes, and use that darkened step for text. Keep the original bright version for large headings, borders and graphics, which have lower thresholds or none.

Conclusion

Readable text is rarely an accident and unreadable text is rarely a mystery. It is usually one of four mistakes, each fixed the same way: measure the pair and read the right row. The Color Contrast Checker gives you the number for any pair in seconds. When the number says a color has to change, our companion guide on fixing low contrast text without ruining your design walks through the fix. For more guides in this series, see our Color and Design Tools guides.

References

  • W3C, Web Content Accessibility Guidelines (WCAG) 2.1, the specification behind the contrast thresholds used here: https://www.w3.org/TR/WCAG21/