Villefranche-sur-Mer is very close to the ocean. It's basically about 2749 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 Beaulieu-sur-Mer.
How far is Manitou Springs from the ocean
How far is Ojai from the ocean
How far is Fairbanks from the ocean
How far is Philadelphia from the ocean
How far is Reno from the ocean
How far is Tahoe City from the ocean
How far is Daytona Beach from the ocean
How far is Springfield, MO from the ocean
How far is Chicago from the ocean
How far is Ollantaytambo from the ocean