Colour contrast checker

Colour contrast checker

Check two colours against WCAG AA and AAA contrast ratios.

About this tool

Text needs enough contrast against its background to be readable. WCAG sets ratios for normal text and for large text.

Pick two colours to see the ratio and whether they pass AA and AAA. A ratio of 4.5:1 is the usual minimum for body text.

Worked example

#1d4ed8 on white gives a ratio of 6.70:1. That passes AA for normal text, but it falls short of the 7:1 AAA target.

Common searches