Colour contrast checker

Check text and background colours against WCAG 2.1 before you publish or run a full accessibility check. It runs in your browser.

Use hex such as #1e3a8a or #fff, or rgb(30, 58, 138).

Result

4.54:1

    Normal text: the quick brown fox jumps over the lazy dog.

    Large text: 24px regular or 19px bold

    Button or input border

    What the levels mean

    CheckMinimum ratioWCAG
    Normal text, level AA4.5:11.4.3
    Large text, level AA3:11.4.3
    Normal text, level AAA7:11.4.6
    Large text, level AAA4.5:11.4.6
    Buttons, input borders, icons and charts3:11.4.11

    Large text means at least 18 point (24px) regular, or 14 point (about 18.7px) bold. Most laws and policies, including the ADA Title II rule, point to level AA.

    Next: check a whole page for contrast and other WCAG problems.