In 1945 the Navy changed the specification for their paints. The purple/blue pigments were becoming harder to find and more expensive. Neutral gray paints of the same tonal value replaced the blue.
The ships were not painted out of blue all at once, rather it happened as yard availability occured. And paint priority was given to different classes. So it becomes a matter of what ship, what theatre, and when painted.
Tracy White's Researcher at Large has a lot of the documentation which he has gleaned from archives sources