WCAG Contrast Checker

Test color contrast ratios against WCAG 2.1 AA and AAA accessibility standards.

WCAG Contrast Checker

Test WCAG ratios, APCA guidance, and practical color accessibility.

Contrast Ratio (WCAG 2.x)

3.68:1
Normal text (needs 4.5:1 / 7:1)
AA — Normal Text (4.5:1)Fail
AA — Large Text (3:1)Pass
AAA — Normal Text (7:1)Fail
AAA — Large Text (4.5:1)Fail
Non-text / UI Components (3:1)Pass

Perceptual & Color Readouts

APCA Lc
-69.39
WCAG 3 draft
Luminance FG
1.0000
Luminance BG
0.2400
Relative luminance
#ffffff · #3b82f6
FG rgb(255, 255, 255)|hsl(0, 0%, 100%)
BG rgb(59, 130, 246)|hsl(217, 91%, 60%)

Accessibility Suggestions

Nearest colors that reach the 4.5:1 target for normal text.

text darker#1a1a1a(4.73:1)
bg darker#156bf4(4.73:1)

Large Heading Text

This is sample body text shown in the selected size (16px, normal). It should be clearly readable against the background color.

Small text (14px) at normal weight. WCAG AA requires 4.5:1 for text this size.

Color-Blindness Preview

Protanopia (red-blind)#ffffffon#5f85fc

Sample text as seen with protanopia

Deuteranopia (green-blind)#ffffffon#4d74f3

Sample text as seen with deuteranopia

Tritanopia (blue-blind)#ffffffon#1499a5

Sample text as seen with tritanopia

Gradient Worst-Case Contrast

Checks the selected text color against every step of a two-color gradient and reports the weakest contrast point — unique to this tool.

Worst-case ratio:3.68:1worst at 0% of the gradient

Recent Pairs

0

Pairs you check are saved here (up to 12). Click one to restore it.

WCAG AA is the minimum legal standard for most websites. AAA provides enhanced accessibility. APCA Lc is the WCAG 3 draft metric; |Lc| ≥ 75 is recommended for body text.

Features

  • WCAG 2 AA/AAA ratios plus APCA Lc guidance
  • Live text preview, font-size/weight controls, and swap
  • Nearest accessible color suggestions and gradient worst-case checks
  • Color-vision simulation, pair history, CSV copy, and shareable URL state

Contrast checker FAQ

What contrast ratio does WCAG AA require?

WCAG AA generally requires 4.5:1 for normal text and 3:1 for large text; AAA raises those thresholds.

What is APCA?

APCA is a draft perceptual contrast metric shown as Lc. It complements, but does not replace, current WCAG 2 conformance checks.

Does passing contrast guarantee accessibility?

No. Also test focus indicators, non-color cues, typography, zoom, semantics, and real user flows.

Infinio Tools
© 2026 Infinio Labs