Get a well fitting blue blazer (meaning take it to the tailor to get the sleeves altered to the correct length etc). Wear khakis (hopefully very light colored and well fitting) if it's a daytime/outdoor wedding. If not then your regular good dress pants with everything else sounds fine. Don't worry about your looks too much. Enjoy yourself at the wedding. Bag a bridesmaid.