The present invention is directed to an ophthalmic lens integrally formed with a hydrogel, the hydrogel including a copolymer obtained from a composition containing (A) an ionic compound including a cation having a polymerizable functional group, and a fluorine-containing anion (hereinafter, referred to as (A) ionic compound), and (B) a hydrophilic compound having a polymerizable functional group.