Ships per colony
You need 1 ship, light or heavy, per colonial province that you own. The location of the ships is irrelevant, you can have all your ships in a big fleet in port and you will still get no penalty. Colonial nations like Spanish Brazil handle their own fleet and are not part of the colonies you need to produce fleets for. You can check how many ships you have and need on the economy screen, under tariffs.