When light travels through different materials, its speed changes. This means that the wavelength also changes because the frequency stays constant. When light passes into a material where the speed is less than c (such as glass), the wavelength decreases. If the speed increases (like air to vacuum), then the wavelength increases.