Thanks for the info. I know the diodes are rated at 50V but my thinking was that the LEDs are rated at 3V and the diodes would be in series with them. Thats why i asked this seemingly silly question. I will make sure to use diodes suitable for mains.

It seems i give the impression that im willing to plug things into the mains without caring if it will explode or not. I do actually think about these things. I usually check here even if i know what im doing but i have a few doubts. I wont be plugging these LEDs right into the mains. I will start with lower voltages and step it up gradually. I wont be touching random parts of this circuit while its turned on. I have been working with mains voltages for many years and i know how painfull it can be. I will be as careful as i always am when dealing with high voltage