The amount of Rayleigh scattering that occurs to a beam of light is dependent upon the size of the particles and the wavelength of the light; in particular, the intensity of the scattered light is inversely proportional to the fourth power of the wavelength. This means that blue light is scattered much more than red light. In the atmosphere, this results in blue photons being scattered across the sky to a greater extent than photons of a longer wavelength, and so one sees blue light coming from all regions of the sky whereas the rest is still mainly coming directly from the Sun.
A notable exception is during sunrise? and sunset?, when the Sun's light must pass through a much greater thickness of the atmosphere to reach an observer on the ground. This extra distance causes multiple scatterings of blue light, but relatively little scattering of red light; this is seen as a pronounced red-hued sky in the direction towards the sun.