Cape Town is very close to the ocean. It's basically about 2342 meters from the ocean depending on where you measure to the exact coastline.
If you're driving to a town near the beach or coastline, you could try De Waterkant.
How far is Long Beach from the ocean
How far is Solvang from the ocean
How far is Moab from the ocean
How far is Hartford from the ocean
How far is Kansas City, KS from the ocean
How far is Trinidad, CA from the ocean
How far is Destin from the ocean
How far is Indianapolis from the ocean
How far is Toledo, OH from the ocean
How far is Puno from the ocean