The fact is that the blood of scorpions does not contain hemoglobin, but hemocyanin, its analog. If hemoglobin is an iron-containing substance, then hemocyanin consists of copper. 

When in contact with air, this element turns blue and, giving oxygen to tissues, loses its color.