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 Grand Junction, CO from the ocean
How far is Des Moines from the ocean
How far is Cheyenne from the ocean
How far is Miami from the ocean
How far is Salem from the ocean
How far is Duluth, MN from the ocean
How far is Berkeley from the ocean
How far is Indianapolis from the ocean
How far is Kailua Kona from the ocean
How far is Edmonton from the ocean