i don't think it's a "fashion crime" or anything but i don't consider navy to be flattering with black. there are other colors that contrast black much better. navy would go well with blue jeans though.
Navy is considered a neutral color, so yes. Nowadays there are no set rules in fashion. The "no white after Labor day" and old school rules like that don't apply anymore.