The cold waters of the Humboldt Current are responsible for both the coastal deserts and the garúa along the coasts of Peru and Chile from latitudes 5° to 30° South, a north-south distance of 2800 kilometers .