Thanks for the feedback. Do you know of any good pair of colors that would solve the problem for all types of color blindness or should I modify the example to play with brightness ?
Changing brightness is good. Also, tritanomaly (or tritanopia) is very rare (about 0.01% for either males or females vs 6% males and 0.4% females for dueteronomaly), so changing between blue and either green or red should be fine for almost everyone.