Please call 911 immediately if you are having chest pain, difficulty breathing, severe bleeding, sudden weakness or numbness, or if you think you have a medical emergency.
In a newborn, it's common for the area around a baby's mouth and even the palms and soles of the feet to turn blue once in awhile. But when a baby's lips, mouth, head, or torso are blue, it's a sign of a more serious problem and you should see a doctor right away.
That’s a sign that the baby is not getting enough oxygen. Your doctor will run tests to find out what’s causing the problem.
WebMD Medical Reference