Wearing jeans is considered inappropriate and too casual for formal cocktail attire. Stick to tailored pants and maintain the formal expression of the cocktail dress code event.