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 Corpus Christi from the ocean
How far is Hanalei from the ocean
How far is San Francisco from the ocean
How far is Homer from the ocean
How far is Cambria from the ocean
How far is Scottsdale from the ocean
How far is Aspen from the ocean
How far is Bozeman from the ocean
How far is Kailua Kona from the ocean
How far is Punta del Este from the ocean