From what has been shown on screen, his feet are never really blue. Older cartoons gave occasional glimpses, but the later series such as Sonic Underground and Sonic X keep his shoes on.
In the games, he is essentially never seen barefoot at all, so there is no canonical answer beyond the shoes themselves.