Pretty much any colors match with the color navy blue--except lighter colors are preferred. Such as pale yellow or pink. It also depends on what the navy blue article of clothing is. Darker colors do not stand out; however you ma want this serious look.
All of the primary colors look great with navy blue. When matching navy blue pants go with a top or jacket that is a lighter shade. Light blues, yellows, and greens all look great with navy blue and will look great together.
Navy blue is generally worn with white. However, if you are looking to avoid that classic "sailor" look you could also wear it with any other lighter shade of blue. Red, pink, and tan pair very well to navy blue also.