The present invention relates to coatings comprising electrically conductive polymers and melamine derivatives, their preparation and use, and dispersions for the preparation of such coatings.