Lausanne is about 313 km from the ocean.
If you're driving to a town near the beach or coastline, you could try Menton.
How far is Hilton Head Island from the ocean
How far is Panama City Beach from the ocean
How far is Clearwater Beach from the ocean
How far is San Simeon, CA from the ocean
How far is Avalon from the ocean
How far is Carlsbad, CA from the ocean
How far is Greenville, SC from the ocean
How far is San Antonio from the ocean
How far is Napa from the ocean
How far is Cordoba (Spain) from the ocean