Skip to main content
Calcimator

Color Blindness Check

Approximate RGB shifts for protanopia, deuteranopia, and tritanopia (Brettel-style simplification).

About this calculator

This calculator applies three separate linear-matrix approximations to your RGB color, one per color-vision deficiency, then reports a relative luminance figure alongside them. For protanopia and deuteranopia (the two red-green deficiencies), the Protan R/G and Deutan R/G outputs are each a weighted blend of your Red and Green channels -- 0.567R + 0.433G for Protan R, 0.43R + 0.57G for both Deutan R and Deutan G (the same formula is used for both, which is the whole point: red-green color blindness collapses the red and green channels toward the same perceived value). Red is weighted more heavily than Green only in the Protan formula (0.567 vs 0.433); in the Deutan formula Green actually carries the larger coefficient (0.57 vs 0.43). Red still moves both sets of outputs the most in practice, but for a different reason in each case: for Protan it's the coefficient, and for Deutan it's simply that this calculator's default Red value (220) is much larger than its default Green value (60), which outweighs Green's larger coefficient.

The Blue channel never enters any Protan or Deutan formula at all -- Blue passes through unchanged (Protan B and Deutan B literally equal your input Blue value) because protanopia and deuteranopia are red-green, not blue-yellow, deficiencies. Tritanopia (blue-yellow deficiency) works the other way: Tritan R equals Red unchanged, Tritan G equals Green unchanged, and only Tritan B is shifted, blending 95% Green with 5% Blue. This is a simplified educational approximation, not the full Brettel/Vienot LMS cone-space simulation used in professional accessibility tools -- it does not model gamma correction or the actual cone confusion lines, so treat the shifted values as a rough guide to red-green or blue-yellow ambiguity, not a certified accessibility test.

Inputs

Results

Protan B

50

Protan R151
Protan G149
Deutan R129
Deutan G129
Deutan B50
Tritan R220
Tritan G60
Tritan B60
Rel. luminance93.294
How to Use This Calculator
  1. Enter an RGB color value (0-255 for each channel) you want to test.
  2. Review the simulated RGB values for protanopia, deuteranopia, and tritanopia.
  3. Compare the shifted values to your original to check if your design colors are distinguishable for color-blind users.
  4. Use the relative luminance value to assess WCAG contrast compliance.

How the result changes with Blue 0–255

Blue 0–255Protan B
2525
3838
7575
125125

What each input means

Red 0–255
sRGB red channel.
Green 0–255
sRGB green channel.
Blue 0–255
sRGB blue channel.

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    Red 0–255 = 220, Green 0–255 = 60, Blue 0–255 = 50 = 3 input(s) provided
  2. Calculate Protan B
    Protan B = b
    50 = 50
  3. Calculate Protan R
    Protan R = 0.56667 * r + 0.43333 * g
    151 = 151
  4. Calculate Protan G
    Protan G = 0.55833 * r + 0.44167 * g
    149 = 149

Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.

Frequently Asked Questions

Why do Deutan R and Deutan G show the exact same number?

Both use the identical formula, 0.43 x Red + 0.57 x Green, because deuteranopia makes the red and green channels look the same to the viewer. Reporting one shared value for both is the simulation's way of showing that a deuteranope cannot distinguish a shift toward red from a shift toward green in this color.

Why doesn't changing Blue affect the Protan or Deutan results?

Protanopia and deuteranopia are red-green color vision deficiencies, so the simulation's Protan R/G and Deutan R/G formulas only ever combine the Red and Green channels -- Blue is not a term in either equation. Protan B and Deutan B simply report your Blue input back unchanged, which is why they stay fixed no matter how you adjust Blue.

Why does Red move the results more than Green does?

Mostly because of this calculator's default values, not the formulas' coefficients. The Protan formula does weight Red slightly higher than Green (0.567 vs 0.433), but the Deutan formula actually weights Green higher than Red (0.57 vs 0.43). Either way, Red still moves both outputs more here because the default Red value (220) is much larger than the default Green value (60) -- a 10% change in Red is a bigger raw number than a 10% change in Green, which outweighs Deutan's Green-favoring coefficient.

What does Relative luminance tell me that the RGB shifts don't?

Relative luminance (0.2126R + 0.7152G + 0.0722B) estimates the perceived brightness of your color regardless of hue, which is what actually drives WCAG contrast-ratio calculations. Two colors can simulate very differently for a color-blind viewer while having similar luminance, or vice versa, so this figure is a separate check from the protan/deutan/tritan shifts above it.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Construction & Building Trades.