You can swim whenever the chlorine is OK and the pH is between 7 & 8. The only hazard from cloudy water is losing track of someone -- drownings have occurred that way.