When sunlight passes through the atmosphere, the fine particles in air scatter the blue colour (shorter wavelength more strongly than red. The scattered blue light enters our eyes. If the earth had no atmosphere, there would not have been any scattering . Then the sky would have looked dark. The sky appears dark to astronaut flying at very high attitude, as scattering is not prominent at such heights.