The blue colour of the sky is due to the scattering of sunlight by the atmosphere. Shorter wavelengths, such as blue light, scatter more than longer wavelengths like red due to Rayleigh scattering. As a result, the scattered blue light reaches our eyes, making the sky appear blue.