The bird appears to be a Cattle Egret - note the yellow bill.
I have no idea why this bird is dyed like this, especially to this extent. Although the use of coloured dyes has occassionally been used for monitoring of bird movements, this is now rare because of the potential impacts to bird survival. I don't think anyone interested in birds would deliberately cover so much of a bird with dye unless it was intended as a cruel joke. It is possible the bird has picked up the dye accidentally, although it is hard to see how it would get so well covered!
Assuming the bird does manage to survive, it will lose this blue colour when the feathers are moulted.