Palg

Designing for color blindness

By Theo Lane (pen name; AI-assisted, hand-checked) ·

Roughly one in twelve men and one in two hundred women of Northern European ancestry have some form of color vision deficiency (CVD). Across the world that is hundreds of millions of people. Most of them see plenty of color — just not the same distinctions you might rely on. Designing for them mostly means not relying on hue alone.

The main types

Normal color vision uses three types of cone cells, sensitive to long (L, “red”), medium (M, “green”) and short (S, “blue”) wavelengths. CVD occurs when one type is missing or shifted.

How simulation works

Simulators transform colors to approximate what a person with a given CVD perceives. Palg uses the model by Machado, Oliveira and Fernandes (2009), which derives a 3×3 matrix for each type and severity from a physiological model of the cones. The matrix is applied in linear RGB — after removing the sRGB gamma curve — which is important; applying it to gamma-encoded values gives results that are too dark.

Simulation is an approximation. Individual vision varies, displays differ, and no simulator can tell you what something “looks like” to another person. Use it to find problems, not to certify solutions.

Pairs that commonly fail

Try pasting a palette into the simulator: it flags pairs whose simulated colors fall within a small CIEDE2000 distance of each other.

The fix: lightness, then redundancy

The most robust way to keep colors distinguishable is to give them different lightness. Every type of CVD preserves lightness differences far better than hue differences. If your “success” green and “error” red differ by 30 points of OKLCH lightness, almost everyone will tell them apart — even in grayscale.

Then add redundant cues. WCAG 2.2 success criterion 1.4.1 (Use of Color) requires that color is not the only visual means of conveying information. In practice:

Choosing CVD-friendly palettes

Blue and orange are a reliable pair: they differ along the blue-yellow axis that red-green deficiencies preserve. Many accessible chart palettes are built around blue, orange, and a range of lightness. For categorical data, limit yourself to as few colors as possible and vary lightness between neighbors. For sequential data, use a single hue — or a perceptually ordered pair like dark blue to light yellow — and increase lightness monotonically.

Avoid relying on saturation alone. Desaturated versions of different hues tend to converge for viewers with CVD.

A testing routine

  1. Simulate your palette for deuteranomaly and protanomaly first; they cover most affected users.
  2. Then check the full-strength forms and tritanopia.
  3. View the design in grayscale (achromatopsia simulation). If the hierarchy still reads, you are in good shape.
  4. Upload real screenshots — charts, dashboards, maps — rather than just swatches. Context changes everything.
  5. Ask people with CVD to review critical flows if you can; simulation is no substitute for real users.

Beyond color

Designing for color blindness tends to improve design for everyone: interfaces that work in grayscale also work in sunlight on a phone, on cheap projectors, and when printed in black and white. Lightness contrast, redundant cues and restrained palettes are not compromises — they are hallmarks of clear communication. Our contrast guide covers the related WCAG requirements.

More guides