The blue color you see on a tire that's been used on the racetrack is oil that's been released from the rubber. This is a good sign, a sign that the rubber still has oil in it, oil included in the original compound by the manufacturer to keep the rubber flexible, and grip high.
The blue color does not mean the tire is junk, although it's important to remember that the tire in question will not stick as well as a new tire. A tire's best grip occurs the first time it's gotten up to temperature; for a race tire, that's the first several-lap session it's used. After that, grip falls off. So, tires with a blue tinge, as long as they have plenty of middle, section tread remaining, should be fine for normal or even semi-aggressive street use.
But because the tread on the extreme edges is usually mostly gone, they're not as good a bet for track-day use.