Rayleigh scattering is proportional to the fourth power of the wavelength of the light used in optical fibers. This means that shorter wavelengths are scattered more than longer wavelengths, which is why optical fibers are designed to operate in the infrared range, where attenuation due to scattering is much lower.