After Five / Fitting room notes
Dress for the invitation
Black tie, black tie optional, and cocktail attire mean different things. Read the exact line from the invitation before you choose the garment.

Black tie
The usual choice is a dinner jacket with matching evening trousers, a white dress shirt, black bow tie, and dark dress shoes.
Black tie optional
A tuxedo fits the occasion. A dark suit can also be appropriate when worn with a dress shirt, understated tie, and polished shoes.
Cocktail attire
A suit gives you room to work with color and texture. Take into account the time of day, the venue, and any notes the host has provided.