NEARFIELD·TOOLS

Color blindness simulator

A palette or an image as protan, deutan, tritan and achromat viewers see it, at any severity, and every colour pair that becomes hard to tell apart, listed with its measured difference.

Up to 12 colours as #rgb or #rrggbb, separated by lines, spaces or commas. Severity 100 % is dichromacy (one cone type missing); lower values are the milder, far more common anomalous forms. ΔE is CIEDE2000.

—
typical vision, closest pair ΔE
—
protan, closest pair ΔE
—
deutan, closest pair ΔE
—
tritan, closest pair ΔE
—
achromat, closest pair ΔE
#TypicalProtanDeutanTritanAchromat

Pairs that become hard to tell apart

    Colour is one check of many. Nearfield Accessibility, our free Figma plugin, checks the contrast and target size of every layer in a frame and maps each finding to its EN 301 549 clause. Use of colour (1.4.1) is in its scope table as a check for a person, because no tool can tell whether a colour carries meaning.

    Simulate an image

    Pick a screenshot, chart or photo. It is processed by this page in your browser and never uploaded. Large images are scaled to 1,000 px on the long side first. The severity above applies here too.

    What each type means

    Colour vision rests on three cone types, sensitive to long, medium and short wavelengths. In the protan forms the long-wavelength (red) cones are missing or shifted, so reds look darker and red and green converge. In the deutan forms the same happens to the medium-wavelength (green) cones; reds keep their brightness, but red and green still converge. Together these red-green forms affect about 1 man in 12 and 1 woman in 200 of Northern European descent (less elsewhere), and most of them are mild deuteranomaly, not full colour blindness. Tritan forms affect the short-wavelength (blue) cones, confusing blue with green and yellow with pink, and are rare. Achromats see no hue at all, only lightness; that is rarer still, but its column is useful anyway, because it shows whether a palette survives being printed in greyscale.

    How the simulation works

    The page uses the model of Machado, Oliveira and Fernandes (2009), which publishes one 3×3 matrix per type for severities 0.0 to 1.0 in steps of 0.1. A severity between two steps blends the two nearest matrices, which is the method the authors give. The matrices act on linear-light RGB, so each colour has its sRGB gamma undone first and reapplied after; applying them to the gamma-encoded values, as some simulators do, gives different and wrong colours. Results outside the screen's range are clipped. Achromatopsia is modelled as the colour's own luminance, so a simulated grey has exactly the original's lightness.

    Tritan results are the least certain of the three: tritan deficiency is rare, so far less data constrain any model of it.

    Reading ΔE

    ΔE is the CIEDE2000 colour difference, computed between the simulated colours as a screen would show them. A difference of 1 to 2 is about the smallest most people notice side by side. Chart colours need much more than that, because a key is read by matching a small patch against a line some distance away; this page flags pairs under 10 by default, and that number is a design rule of thumb, not part of any standard. Change it above.

    What WCAG asks for

    WCAG 2.2 has no criterion that a palette passes by being "colour-blind safe". 1.4.1 Use of Color, level A and clause 9.1.4.1 of EN 301 549, asks that colour is never the only way information is shown: a chart line needs a label, a marker shape or a pattern as well, and an error field needs a message or icon as well as its red border. A palette that survives every simulation still needs that second cue; it just makes the design better for everyone who relies on the colour too. Text against its background is a different requirement, 1.4.3, which the color contrast checker measures for one pair and the palette contrast checker for every pair in a palette at once. Contrast depends on lightness, which colour blindness changes far less than hue. The exception is protan vision, in which reds look darker: red text that only just passes 1.4.3 reads weaker to a protan viewer, so give red text a margin.

    FAQ

    Why does red on green look fine to me but fail here?

    Because the difference between them is almost entirely hue, which protan and deutan viewers lose. Change the lightness instead: a dark red next to a light green stays distinct in every column.

    Is a 100 % simulation what most colour-blind people see?

    No. Most have an anomalous form, with a shifted cone rather than a missing one, which corresponds to a severity well below 100 %. Designing for 100 % covers all of them.

    Does the same apply to interface controls?

    Yes. A selected tab shown only by colour fails 1.4.1. Its outline also needs 3:1 under 1.4.11, and the control needs to be large enough to hit, which is 2.5.8 and what the target size checker measures.