How to Design for Color Blind Users: A Practical Guide
A practical guide to designing for color blind users, with clear rules for contrast, labels, patterns and testing your designs.
Color blindness means that some people see colors differently, or find it hard to tell certain colors apart. It is common, and it affects how people read charts, follow links, spot errors, and use buttons on a website. A design that relies only on color can look clear to one person and confusing to another.
Good design for color blind users is good design for everyone. Adding labels, improving contrast and testing your work makes your site easier for all visitors, including people in bright sunlight or on a small phone.
What Color Blindness Means in Plain Terms
Most people with color blindness can see colors, but some pairs look very similar to them. Red and green are the pair that causes the most confusion. Blue and purple can also be hard to tell apart, and some people find it hard to tell yellow from bright green. The effect varies from person to person.
The key point is simple: do not assume everyone sees your colors the way you do. If two colors look clearly different to you, they may look almost the same to someone else. So whenever color carries meaning, add a second signal as well — text, an icon, a shape, a pattern, or a change in position.
Never Rely on Color Alone
This is the most important rule in this guide. If color is the only way to tell two things apart, the design will fail for some users. Here are common examples and simple fixes:
- Form errors: do not mark a wrong field with a red border only. Add the words "Required" or "Enter a valid email" next to it, with an exclamation mark icon.
- Success and error messages: do not use green and red without words. Write "Saved" or "Something went wrong" so the meaning is clear from the text.
- Links in text: do not rely on color alone to show a link. Underline links, or make them bold.
- Charts: do not use color alone to tell lines or bars apart. Add direct labels, different line styles, or patterns such as solid and dashed lines.
- Status indicators: do not use a green dot for "online" and a red dot for "offline" without text. Add the words next to the dot.
Use Labels, Icons and Patterns
Labels are the clearest backup for color. A short word next to a color removes all doubt. In a chart, label each line directly instead of asking the reader to match a color to a legend far away. In a form, keep the error message close to the field it refers to.
Icons also help, as long as they are simple and consistent: a tick for success, a warning triangle for an error, and an "i" for information. Patterns help too: a striped bar looks different from a solid bar even if the colors look similar.
Choose Distinguishable Pairs and Check Contrast
Some color pairs are harder to tell apart than others. Red and green is the classic problem pair, especially when the two colors have similar lightness. Green and brown can also be confusing, as can blue and purple, and pink and grey.
Safer pairs usually differ in lightness as well as hue. Dark blue and bright yellow are easier to tell apart than mid red and mid green, because their light and dark values are very different. When you pick a palette, test the pairs you will actually use together. A color picker can help you find exact values, and a color palette generator can help you build a set, but check the pairs in context: your button on your background, your chart lines together, and your error text on a white card.
Contrast is the difference in lightness between text and its background. Strong contrast makes text easy to read. Dark text on a light background is usually the safest choice for body text. Avoid light grey text on a white background, and avoid placing text on a busy image without a solid backing. For a deeper explanation, read our guide on what color contrast is.
/* Clear link style: color plus underline */
a {
color: #1D4ED8;
text-decoration: underline;
}
Test Your Designs and Use This Checklist
Testing does not need to be complex. Try a color blindness simulator, which shows how your page might look to someone with a different type of color vision, and check your homepage, a form and any charts. Test real tasks: can a user complete a form, find a link, and understand a chart without relying on color? Also test on a phone in daylight, since sunlight washes out colors.
- Is every meaning shared by color also shared by text, an icon or a pattern?
- Do error and success messages use words, not just red and green?
- Are chart lines labelled directly, or given different patterns?
- Is body text dark enough against its background?
- Are buttons clearly visible, not pale on pale?
- Can a user complete the main task without telling red from green?
If you can answer yes to each item, your design is already much more inclusive than most sites. You need clear labels, strong contrast, and a habit of testing. Start with one page, fix the color-only signals on it, and then apply the same checks to the rest of your site.