On a clear day the sky is a deep, bright blue. But sunlight itself is white, a mix of every colour of the rainbow. So where does the blue come from?
Light is made of waves
Each colour of light travels as a wave with a different length. Red light has long waves; blue and violet light have short ones. When sunlight enters our atmosphere, it runs into countless tiny gas molecules, mostly nitrogen and oxygen.
Short waves get scattered
These molecules are much smaller than the wavelength of light, and they scatter short waves far more strongly than long ones. Blue light is scattered roughly five to ten times more than red light. This effect is called Rayleigh scattering, after the British scientist Lord Rayleigh, who explained it in the 1870s.
So as sunlight crosses the sky, blue light is bounced around in every direction. Wherever you look, some of that scattered blue light reaches your eyes, and the whole sky appears blue.
Then why isn’t the sky violet?
Violet light has even shorter waves than blue, so it scatters even more. But there are three reasons we don’t see a violet sky:
- The Sun gives off less violet light than blue.
- Some violet light is absorbed high in the atmosphere.
- Our eyes are much more sensitive to blue than to violet.
Why sunsets are orange and red
At sunrise and sunset, sunlight travels through much more air to reach you, because it comes in at a low angle. By the time it arrives, most of the blue has been scattered away, leaving the longer orange and red wavelengths to colour the sky.
In a nutshell
The sky is blue because air scatters short blue wavelengths of sunlight all over the sky. Sunsets are red because, over a longer path, the blue gets scattered away before it reaches you.