Scheme 3.

Synthesis of the second set of methylene blue derivatives as chloride salts (4–6); conditions: (a) DCM, secondary amine: 2-(N-methylamino)ethanol, morpholin or 4-N-methyl-piperazine, RT, 5 h; (b) ion exchanger Amberlite IRA958, water, then HCl.