In the Lassaigne’s test for nitrogen in an organic compound, the sodium fusion extract is boiled with iron (II) sulphate and then acidified with sulphuric acid. In the process, sodium cyanide first reacts with iron (II) sulphate and forms sodium hexacyanoferrate (II). Then, on heating with sulphuric acid, some iron (II) gets oxidised to form iron (III) hexacyanoferrate (II), which is Prussian blue in colour. The chemical equations involved in the reaction can be represented as
Hence, the Prussian blue colour is due to the formation of Fe4[Fe(CN)6]3.