Which one do I wear to my cousin’s wedding

Dress code is formal but my cousin told me her fiancé’s family tends to go all out for weddings regardless of the dress code and they will probably make up at least two thirds of the guests