My brother's gf told me that it's polite to not wear the wedding party colors when attending a wedding. First off, is that in fact a thing? If so, is a different shade of one of the colors safe? I'm currently pondering buying a bright blue dress for a wedding where navy blue is one of the colors. Am I safe?

ETA: Thank you all for your swift and helpful replies. Pics to follow.