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 Sioux Falls from the ocean
How far is Tahoe City from the ocean
How far is Washington, DC from the ocean
How far is Carmel from the ocean
How far is Big Sur from the ocean
How far is Pigeon Forge from the ocean
How far is Kailua from the ocean
How far is Galveston from the ocean
How far is Louisville from the ocean
How far is Delhi from the ocean