You have rules, and spirit of the rules. Rules say : no white socks. Spirit of the rules explains why : because you must not draw the viewer's attention to your feet, which are ungraceful and lifeless. The viewer's eye must focus on your face, not on your socks. While wearing white pants, the best way of drawing attention to your feet consists in wearing "fun" and "colored" socks. Actually, the sock can be understood as an extension to your pants (your foot being an extension of your leg), hence the easiest way to please is to match pants and socks. So, it looks always kosher to wear white socks with white pants, because no one will notice, and that's the point. You should also wear white underpants, for that very same reason. The main problem, now, is to choose the right shoes.