I've had good luck with Oxy-Clean on stains like that. I mixed up a strong solution in a plastic dish pan and let the item soak. It took a couple of days, along with making some fresh solution on the second day, but the stains came out and the colors were intact. I then ran cool water into the dish pan until it was rinsed.
Good luck with your blocks - they're really pretty!