When light undergoes refraction at the surface of separation of two media, what happens to its wavelength?
The frequency of light does not change when light undergoes refraction, i.e. is constant.
Therefore,
For the optically denser medium, the value of is high and for an optically rarer medium is less.
Hence, the wavelength decreases when light enters a denser medium, and the wavelength increases when light enters a rarer medium.