Color Blindness Simulator – Preview HEX Colors

Compare up to six HEX colors in simulated protanopia, deuteranopia and tritanopia. Inspect two colors side by side, copy simulated codes or export a CSV or SVG. This is a design preview, not a diagnosis or a WCAG certification.

Original colors and three simulations

Positions stay the same across all four groups. Click a swatch, or focus it and press Enter, to copy its HEX code.

Compare two colors side by side

Choose two positions from your input palette. This is a visual comparison, not a definitive measure of how easily colors can be distinguished.

Export your results

Download original and simulated HEX values in CSV, or save an SVG swatch chart. These exports are not a WCAG audit.

Simulated HEX codes are not recommended replacement colors. Check actual text/background contrast in the Contrast Checker, and use labels or patterns rather than color alone to explain meaning.

How to use the color blindness simulator

  1. Enter 1–6 HEX colors: use three- or six-digit codes, or choose an example palette.
  2. Compare positions: the same position appears in each simulation. Pick color A and B to examine potentially confusing pairs.
  3. Save the result: copy TSV into a spreadsheet, or download CSV/SVG. Export again after changing the palette.
  4. Design accessibly: add text, icons, patterns and sufficient contrast. Never communicate an error or success only through red/green colors.

Protanopia, deuteranopia and tritanopia

These simulations approximate three forms of color vision deficiency: red-related (protanopia), green-related (deuteranopia) and blue-related (tritanopia). Individuals and screens vary. Do not interpret a simulated swatch as an exact representation of what a particular person sees.

How are colors calculated?

The simulator uses the full-deficiency 3×3 matrices from the Machado, Oliveira and Fernandes (2009) model, applied in linear-light sRGB and converted back to standard sRGB for display. Input HEX colors are preserved in the original group; calculated output values are rounded to six-digit HEX. It is an approximation for design exploration, not a vision test.

Does this help meet WCAG 2.2?

Color vision simulations can reveal possible confusion, but do not certify accessibility. WCAG 1.4.1 advises against using color as the only means of conveying information. Check text contrast, labels and state changes using the Contrast Checker. You can also explore harmonious color groups in the Palette Generator.