Tarragona is very close to the ocean. It's basically about 4009 meters from the ocean depending on where you measure to the exact coastline.
If you're driving to a town near the beach or coastline, you could try Vila-seca.
How far is Boulder from the ocean
How far is Syracuse, NY from the ocean
How far is Cambridge, MA from the ocean
How far is Bellingham from the ocean
How far is Cape May from the ocean
How far is Long Beach from the ocean
How far is Richmond from the ocean
How far is Burlington, VT from the ocean
How far is Hilton Head Island from the ocean
How far is Tirana from the ocean