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 Paia from the ocean
How far is Calistoga from the ocean
How far is Long Beach from the ocean
How far is Taos from the ocean
How far is Daytona Beach from the ocean
How far is Phoenix from the ocean
How far is Hartford from the ocean
How far is Seattle from the ocean
How far is Houston from the ocean
How far is Wanaka from the ocean