Sphere
Log in Join
☆ 3

how do you pick colors that work for colorblind users

Building a dashboard with multiple series on one chart - about 6 lines that need to be distinguishable. One of our devs is deuteranomalous (red-green) and says my current palette (red, green, blue, orange, purple, brown) makes two of the lines nearly identical. I want to fix this properly rather than just swapping one color. Are there established colorblind-safe palettes I can use? Also should I be encoding with line style (dashed/dotted) in addition to color, or is that overkill? Looking for practical advice, not theory.

⚑ Report

4 replies

☆ 0
R rust21 ·2026-11-11#1

Use a colorblind-safe palette - the Okabe-Ito palette is the standard recommendation (orange #E69F00, sky blue #56B4E9, bluish green #009E73, yellow #F0E442, blue #0072B2, vermillion #D55E00, reddish purple #CC79A7). Designed to be distinguishable for deuteranopia and protanopia. ColorBrewer's Dark2 is also safe. Most libraries have these: seaborn's 'colorblind' palette, and plotly has decent categorical defaults.

⚑ Report
☆ 0
F ferret ·2026-11-14#2

Okabe-Ito looks good. Six series - should I just take the first six, or skip the yellow since it's hard to see on a white background? And on the line style question: my teammate suggested using different dash patterns as well. Is that actually helpful, or just visual clutter on top of the colors? We do print some of these reports in grayscale occasionally.

⚑ Report
☆ 0
S so ·2026-11-14#3

Taking the first six Okabe-Ito colors is fine - they're all distinct. Dash patterns help but use them sparingly: if color alone works, dashes add noise. But for the two colors closest in the palette, or if you might print in grayscale, a dash on one or two series is good defense. More important than dashes: label lines directly on the chart instead of a legend with colors - that helps everyone. Also avoid red/green for good/bad without a secondary cue like an icon.

⚑ Report
☆ 0
C cod ·2026-11-16#4

Went with Okabe-Ito, direct labels on the end of each line, and a dash pattern on one series that prints poorly in grayscale. All six are distinguishable for my colorblind teammate now. Direct labeling was the biggest win - people stopped squinting at the legend. If you want to check your palette, simulators like Coblis show your chart as a colorblind person sees it. Took 10 minutes and was worth it.

⚑ Report
Log in to reply.