Barcelona is very close to the ocean. It's basically about 2864 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 El Born.
How far is Fort Worth from the ocean
How far is San Antonio from the ocean
How far is Pacifica from the ocean
How far is Seattle from the ocean
How far is Bellingham from the ocean
How far is Ann Arbor from the ocean
How far is Mesa from the ocean
How far is Cooperstown, NY from the ocean
How far is Sun Valley from the ocean
How far is Windsor (Ontario) from the ocean