Remove the plate, mask them with blue tape and paint around them. There is no good way to paint an electrical device like a switch or receptacle. The best looking paint jobs will include new plates and maybe even new devices. When folks are fixing up a house to "flip" around here that is one of the first things they do. New (usually Decora) devices under new plates makes the place look fresh, even if the wiring itself is a rat's nest.