Sunlight looks white, but it is actually a mixture of every visible wavelength — from violet (~380 nm) to red (~700 nm). When this light enters Earth's atmosphere, it slams into trillions of nitrogen and oxygen molecules along the way.
Rayleigh Scattering In 1871, Lord Rayleigh worked out the math: when light hits particles much smaller than its wavelength, the amount of scattering depends sharply on wavelength — specifically, it scales as 1/λ⁴.
That exponent matters a lot. Violet light (short wavelength) scatters about 16 times more strongly than red light (long wavelength). So as sunlight travels through the atmosphere, the short-wavelength blues and violets bounce in every direction. That scattered light is what reaches your eyes from every part of the sky.
Why Blue, Not Violet? If scattering favors shorter wavelengths, why isn't the sky violet?
Two reasons: the Sun emits less violet light than blue to begin with, and human eyes have three types of color receptors that are far more sensitive to blue than to violet. So our brains average it out as blue.
Why Sunsets Glow Red At sunset, sunlight reaches you at a shallow angle — passing through far more atmosphere than at noon. By the time the light gets to your eyes, almost all the blue has been scattered away in other directions. Only the long-wavelength reds and oranges survive the journey, painting the horizon.
The more dust, smoke, or aerosols in the air, the more dramatic the sunset — which is why volcanic eruptions like Krakatoa in 1883 produced spectacular red skies worldwide for years.
Why the Sun Looks Yellow From space, the Sun appears white. From Earth's surface, it looks yellow — because we've scattered some of its blue light away into the sky. The 'yellow Sun' we draw as kids is an atmospheric illusion.
The sky is blue not because air is blue. It's blue because of how small molecules push light around.