The Short Answer

The sky is blue because of a phenomenon called Rayleigh scattering. When sunlight enters Earth's atmosphere, gas molecules scatter shorter wavelengths of light (blue and violet) far more than longer wavelengths (red and orange). Since our eyes are more sensitive to blue than violet, we perceive the sky as blue.

But that one sentence glosses over some genuinely fascinating physics. Let's unpack it properly.

Sunlight Is Not Yellow — It's Everything

First, a misconception to clear up: sunlight isn't yellow. It's white — a mixture of all the colours of the visible spectrum. You can see this yourself when sunlight passes through a prism and fans out into a rainbow. Every colour from red to violet is present, all travelling together.

What Happens When Light Hits the Atmosphere

Earth's atmosphere is made of tiny gas molecules — mostly nitrogen and oxygen. When sunlight hits these molecules, the molecules absorb the light and immediately re-emit it in random directions. This is scattering.

Here's the crucial part: shorter wavelengths scatter much more efficiently than longer ones. Specifically, scattering intensity is proportional to the inverse fourth power of wavelength. In plain English, that means blue light (short wavelength) scatters roughly 5–10 times more than red light (long wavelength).

So as sunlight travels through the atmosphere, blue light is constantly being bounced in all directions, filling the entire sky. No matter where you look (away from the sun itself), you're seeing scattered blue light.

So Why Isn't the Sky Violet?

Good question — violet light has an even shorter wavelength than blue, so it should scatter even more. Two reasons explain why the sky still looks blue:

  1. The Sun emits less violet light than blue light to begin with.
  2. Human eyes are significantly more sensitive to blue than to violet.

The combination of these factors means our brains register the sky as blue, even though violet is technically being scattered more.

Why Sunsets Are Red and Orange

At sunset, sunlight travels through a much greater thickness of atmosphere to reach your eyes. By the time it gets to you, almost all the blue light has been scattered away in other directions. What remains is the longer-wavelength light — the reds, oranges, and pinks that make sunsets so dramatic.

Why Space Is Black

Astronauts in orbit see a black sky even with the Sun shining — because there's no atmosphere to scatter the light. Scattering requires molecules. No molecules, no scattered light, no blue sky.

The Takeaway

The blue sky is a daily reminder that light behaves in predictable, fascinating ways. Rayleigh scattering is the same principle behind why distant mountains look bluish, why haze forms, and why photographers get that soft diffuse light on overcast days. Once you understand it, you see the sky differently.