The blue part of the sky is the shadow of the earth, blocking the dusk light from lighting up the atmosphere in the lower part of the sky.