The rational design of the organic ligand allows to finely tune the degree of delocalization of mixed-valence Prussian blue-like molecules.