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.
- Deuteranomaly (shifted M cones) is the most common form, affecting around 5% of men. Reds, greens, oranges and browns of similar lightness become hard to tell apart.
- Protanomaly (shifted L cones) causes similar confusions, and reds also appear darker.
- Deuteranopia and protanopia are the full-strength forms, where one cone type is absent. Each affects about 1% of men.
- Tritanomaly and tritanopia affect S cones and confuse blues with greens and yellows with pinks. They are rare and not sex-linked.
- Achromatopsia — no functioning cones — is very rare; people see only lightness.
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
- Red and green of similar lightness — the classic traffic-light and stock-ticker problem.
- Green and brown, or green and orange.
- Blue and purple (the red component that distinguishes purple is weakened for protans).
- Light green and yellow; pink and gray.
- For tritans: blue and green, yellow and light pink.
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:
- Pair status colors with icons (check, warning triangle, cross) and text.
- Underline links in body text, or make them differ in weight as well as color.
- In charts, label lines directly instead of relying on a legend; vary line style (solid, dashed) and marker shape.
- In maps and heat maps, use a sequential palette that varies in lightness, not a rainbow.
- For form errors, show a message and an icon, not just a red border.
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
- Simulate your palette for deuteranomaly and protanomaly first; they cover most affected users.
- Then check the full-strength forms and tritanopia.
- View the design in grayscale (achromatopsia simulation). If the hierarchy still reads, you are in good shape.
- Upload real screenshots — charts, dashboards, maps — rather than just swatches. Context changes everything.
- 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.