A 12-year-old attending a Staten Island school for students with disabilities was hospitalized after turning blue from overheating yesterday — enraging parents who said they’ve been complaining for years about malfunctioning air conditioners there.

The student at the Hungerford School in Clifton, which also serves students with medical conditions that include sensitivity to heat, was overcome with breathing difficulties shortly after entering a physical-therapy class, according to parents.

They said temperatures in some classrooms topped 90 degrees after last week’s heat wave — despite their complaints to the Department of Education that the school’s central cooling system was dangerously ineffective.

“The teacher sensed there was something wrong, and, luckily, the nurse was in the room, because he started turning blue,” PTA President George Leicht said of the student, who was treated at Richmond University Medical Center.

Leicht said he and other parents often keep their kids home from the school and its off-site buildings because of hot bus rides followed by unbearably warm classrooms.

Department spokeswoman Margie Feinberg said officials were aware of the hospitalized students’ medical conditions and were investigating the matter.