Colour Picker & Contrast Checker
Pick colours straight from your screen and check the contrast ratio against WCAG 2.1.
Accessibility · Web design · WCAG 2.1 · Colour contrast checker
Choose a colour
Opens the eyedropper to pick a colour from the screen
#3b82f6
rgb(59, 130, 246)
hsl(217, 91%, 60%)
Check contrast (WCAG)
Enter a HEX colour code, for example #000000
Enter a HEX colour code, for example #ffffff
Contrast result
21.00:1
Contrast ratio
AA normal: pass
AA large: pass
AAA normal: pass
AAA large: pass
Preview
This is sample text for previewing the contrast.
WCAG contrast guidelines
Level AA (minimum)
- Normal text: at least 4.5:1
- Large text (18pt+ or 14pt bold): at least 3:1
Level AAA (enhanced)
- Normal text: at least 7:1
- Large text: at least 4.5:1