Color Contrast Checker
HEX/RGB/HSL conversion, WCAG AA & AAA results with preview
#3b62acrgb(59 98 172)hsl(219 49% 45%)
#ffffffrgb(255 255 255)hsl(0 0% 100%)
Sample body text — checking contrast with riha apps. 0123456789
Large text sample
Button borderWCAG contrast
5.95 : 1
- Body text AA4.5 or higher
- Body text AAA7 or higher
- Large text AA (18pt, or 14pt bold and up)3 or higher
- Large text AAA4.5 or higher
- UI such as icons and input borders3 or higher
How to use Color Contrast Checker
- Pick a text color and background color to calculate the contrast ratio and see whether it passes WCAG AA and AAA.
- Convert between HEX, RGB and HSL, and preview the colors at real text sizes.
- Useful for accessibility audits and design reviews.