An ophthalmic composition comprising 0.5 ppm to 3 ppm of poly(hexamethylene biguanide), and 0.002 wt. % to 0.03 wt. % of hyaluronic acid. The weight ratio of hyaluronic acid to poly(hexamethylene biguanide) in the composition is from 45:1 to 120:1. The invention is also directed to a method of cleaning, disinfecting or packaging contact lenses with the composition, or to a method of rewetting contact lenses with the composition.