As scattering is inversly proportional to lamda square, violet, indigo and blue have chances to scatter on the atmosphere because their wavelength is less( according to wavelength V<I< B< G< Y< O< R ). And blue light has more components in it than violet and indigo. so it spreads all over the sky.