Basel is about 360 km from the ocean.
If you're driving to a town near the beach or coastline, you could try Arenzano.
How far is Idaho Falls from the ocean
How far is Mendocino from the ocean
How far is Duluth, MN from the ocean
How far is Long Beach from the ocean
How far is Encinitas from the ocean
How far is Anchorage from the ocean
How far is Charlottesville from the ocean
How far is Morro Bay from the ocean
How far is Seward from the ocean
How far is Lake Louise from the ocean