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 Raleigh from the ocean
How far is Lubbock from the ocean
How far is Wilmington from the ocean
How far is Fort Lauderdale from the ocean
How far is Santa Rosa, CA from the ocean
How far is Toledo, OH from the ocean
How far is Bakersfield from the ocean
How far is Salem from the ocean
How far is Ogunquit, ME from the ocean
How far is Antigua from the ocean