Saint-Tropez is very close to the ocean. It's basically about 1710 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 Le Marche du Marin.
How far is Fort Bragg from the ocean
How far is Long Beach from the ocean
How far is Tucson from the ocean
How far is Portland from the ocean
How far is Atlantic City from the ocean
How far is Mountain View from the ocean
How far is Dana Point from the ocean
How far is Newport from the ocean
How far is Santa Cruz from the ocean
How far is Vilnius from the ocean