The sky's colour comes from air molecules scattering short-wavelength (blue) sunlight more strongly than red.
For the curious
Sunlight looks white, but it's secretly a rainbow of colours mixed together. When it zooms into our air, tiny invisible bits of air bounce the blue colour around like ping-pong balls — so blue light spills everywhere across the sky. At sunset the light travels through more air, the blue gets bounced away, and the red and orange get their turn to glow.
For students
Air molecules are far smaller than the wavelength of visible light, so they scatter light by Rayleigh scattering — intensity proportional to 1/λ⁴. Blue (~450 nm) scatters roughly 4–5 times more strongly than red (~700 nm), so the indirect light reaching you from the whole sky is blue-rich. At sunrise and sunset the long path through the atmosphere removes so much blue that the direct beam looks orange-red.
Going deeper
Rayleigh's 1/λ⁴ law applies when particles are much smaller than the wavelength; larger particles (water droplets, haze) scatter all colours equally — Mie scattering — which is why clouds and hazy skies look white or grey. Our eyes also matter: violet scatters even more than blue, but the Sun emits less violet and our eyes are less sensitive to it, so we perceive blue.
For experts
Polarization of skylight (maximal at 90° from the Sun) follows from the dipole nature of molecular scattering and is used by bees and some birds for navigation. Precision photometry of the daytime sky informs atmospheric aerosol measurements; the same physics reddens sunsets on Mars in reverse — its dusty sky is butterscotch while sunsets turn blue.
Common misconceptions
- The sky is not blue because it reflects the ocean — the physics works perfectly well over deserts and predates any ocean view.
Sources
- OpenStax University Physics
- NASA
- Wikipedia