I understood it was due to the grease applied to the exposed ferrous parts of embarked aircraft being known by the sailors as 'crabfat'.
From the material I have read it was because the blue of the original uniform matched the ointment the RN medics to kill the “crabs” the ratings encountered “down below” so to speak....