Below 100%, a Page background field appears.
Foreground + Text/UI background
Required
4.50Current
Text/UI background + Page
Current
If text, position, or context of a button clearly shows its interactivity, a 3.00 contrast isn't required.
Follow any of the suggestions below
Stored passing combinations
Colour contrast requirements
To ensure readability for visually impaired users and comply with EN 301 549 and WCAG AA standards, the colour contrast ratio must be:
- 4.5:1 for normal text.
- 3:1 for large text and graphic elements.
The calculation depends on the two colours and (for text) the font size and weight. The font family and colour order do not matter, but background transparency directly affects the contrast.
How to calculate contrast
- For text: choose the correct font size and weight range. For icons or graphic elements, select the "UI & graphical objects only" option.
- Select the text or graphic colour. Add transparency if applicable.
- Select the background colour. Add transparency if applicable.
- For layered backgrounds: if the background has transparency, specify the underlying page colour.
How to fix contrast issues
The tool determines whether the minimum required contrast ratio (3 or 4.5) is met (Pass) or not (Fail).
If it fails, the tool suggests the necessary adjustments to reach the minimum ratio: changing colours, opacity, font size or font weight. You can copy and save different combinations.