ColorBlindLab Color Vision Suite

Color Blindness Simulator

Drag the split-screen slider to audit photos, charts, and UI designs for WCAG color accessibility across red-green, blue-yellow, and monochrome vision—100% private in your browser.

Launch Simulator

Want to screen your own vision? Try our 90-second all-cone screener.

SVG feColorMatrix • Linearized Machado & BT.709 Lens

Interactive Color Vision Simulator

Experience photos and UI designs through Protan, Deutan, Tritan, or Monochromatic vision.

Colorimetry Note: Green light sensitivity is impaired. Greens, yellows, and reds appear muddy olive and are difficult to distinguish from each other.
100%
Sample:
Chromatic spectrum reference chart simulated under Deuteranopia vision
Simulated View (Deuteranopia)
Chromatic spectrum reference chart in normal trichromatic vision
Normal Trichromatic View
↔
UI / UX Guidelines

Designing for color accessibility

Double-encode information

Never rely on hue alone. Pair error states with exclamation icons and success states with checkmarks and clear labels.

Avoid problem pairings

Avoid red/green, green/brown, blue/purple, and light-green/yellow combinations for adjacent UI elements or status badges.

4.5:1 luminance contrast

Readability depends on brightness difference, not hue. Keep body text at least 4.5:1 against its background.

Textures on data charts

Use dashed, dotted, and solid lines plus bar hatching so charts remain readable even in complete monochromacy.

How Does Physiological Color Blindness Simulation Work?

WCAG 2.2 Accessibility Tool • Grounded in Machado (2009) & ITU-R BT.709 — See Methodology

A color blindness simulator transforms standard sRGB pixels into linear RGB and multiplies them by physiologically derived 3×3 cone-projection matrices. Using GPU-accelerated SVG feColorMatrix filters, it previews how UI components, charts, and photos appear under Deuteranopia, Protanopia, Tritanopia, and Achromatopsia.

Many basic browser extensions apply naive gamma-encoded RGB channel averaging that misrepresents real-world color vision deficiency—especially Protan red-darkening and neutral gray preservation. ColorBlindLab executes simulation directly in linear light using SVG color-interpolation-filters="linearRGB" combined with Machado, Oliveira, and Fernandes (2009) 3×3 transformation matrices. Because gamma-encoded sRGB is first linearized by the browser compositor before applying the 3×3 matrix and re-encoded back to sRGB for display, photon-proportional luminance ratios stay accurate across gradients, bar charts, and photographs. For Achromatopsia (total cone absence), the filter applies ITU-R BT.709 perceptual luminance weights (0.2126 R + 0.7152 G + 0.0722 B) so designers can verify WCAG 2.2 luminance contrast independently of hue. Designers can audit screenshots at 100% severity for complete dichromacy (~2% of men) or slide down to 50–60% for anomalous trichromacy (~6% of men).

What Colorblind-Safe Palette Should Designers Use? (Okabe–Ito Standard)

When designing dashboards, scientific figures, or mobile apps, replacing default red/green/blue palettes with high-contrast, hue-separated alternatives eliminates ambiguity across Protan, Deutan, and Tritan vision:

Role Avoid (Problematic) Use Instead (Safe Hex) Why It Works
Positive / Primary Pure Green (#22C55E) Sky Blue #56B4E9 / #0072B2 Blue remains distinct from orange/vermilion for Protan and Deutan eyes
Negative / Alert Pure Red (#EF4444) Vermilion #D55E00 Higher luminance than deep red, preventing Protan red-darkening
Warning / Highlight Light Green / Yellow Orange #E69F00 Separates cleanly from pale yellow and bluish-green
Secondary Category Blue + Purple Reddish Purple #CC79A7 Paired with shape/line style, stays distinct from #0072B2

Inside the Linear-RGB Simulation Pipeline

Stage Mathematical Transform Why It Matters
1. Linearization color-interpolation-filters="linearRGB" Browser compositor linearizes sRGB (γ ≈ 2.4) before matrix multiplication
2. Severity Interpolation (1 − s) · I + s · M_machado Blends smoothly between normal trichromacy (0%) and full dichromacy (100%)
3. Confusion Projection Machado (2009) / BT.709 3×3 Matrix Projects missing cone channels in linear light and applies BT.709 weights for Achromatopsia
4. Display Output Linear RGB → sRGB Compositor Preserves true Protan red-darkening and neutral gray balance on screen

Real-World UI & Data Visualization Failure Cases (And Fixes)

UI / Chart Component Why It Fails in Simulation Production CSS / SVG Fix
Form Validation States 1px #EF4444 error vs. #22C55E success borders collapse to identical olive-brown under Deuteranopia. Pair border color with inline status icons, explicit text messages (aria-describedby), and 2px border weight contrast.
Dark-Mode Red Alerts Deep crimson text (#B91C1C) on #1A1A1A suffers Protan long-wavelength darkening and drops below 3:1 contrast. Shift dark-mode alert tones toward higher-luminance coral (#F87171) or vermilion (#FB923C) to preserve ≥4.5:1 luminance.
Red–Yellow–Green Heatmaps Diverging red-green scales flatten at both ends into murky yellow-tan, hiding extreme risk clusters in dashboards. Replace with perceptually uniform, colorblind-safe ramps (Viridis, Cividis, or blue-to-orange) plus numeric cell tooltips.
Multi-Series Line & Bar Charts Thin 2px series in teal, green, and blue merge in Tritanopia; adjacent bars blur without legend hover. Apply SVG stroke-dasharray patterns, distinct point markers (circle, square, triangle), and SVG <pattern> bar hatching.

Looking to screen your own vision instead of auditing a design? Try our 90-second all-cone screener, 14-plate red-green diagnostic, S-cone blue-yellow check, or kids shape screener.

Simulator FAQ

Frequently Asked Questions

How does this color blindness simulator work?
The simulator applies Machado, Oliveira & Fernandes (2009) 3x3 linear-RGB matrices inside GPU-accelerated SVG feColorMatrix filters using color-interpolation-filters="linearRGB", alongside ITU-R BT.709 luminance weights for Achromatopsia.
Are uploaded images sent to any server?
No. The simulator runs 100% locally in your client web browser. Uploaded images are read via local FileReader memory and are never uploaded, transmitted, or stored on any server.
How can UI/UX designers make websites accessible for colorblind users?
Designers should follow WCAG 2.2 Success Criterion 1.4.1 (Use of Color): never rely solely on color to convey information. Pair color with icons, text labels, distinct patterns, and ensure a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text.
Which color blindness type should designers test first?
Start with Deuteranopia and Deuteranomaly (M-cone deficiency), which account for roughly 6% of all males and ~75% of all color vision deficiencies, then verify Protanopia (where deep reds darken) and Tritanopia (blue-yellow confusion).
Why is 100% dichromatic simulation stricter than real-world anomalous trichromacy?
Full Protanopia and Deuteranopia represent complete cone loss (~2% of men), whereas anomalous trichromats (~6% of men) retain partial red-green discrimination. Passing a UI audit at 100% severity guarantees readability for both mild and severe users.