When a ray of light passes from one medium to another, then its frequency does not change, but its speed and wavelength change. Hence, its frequency in a medium of refractive index 1.5 is 6×1014Hz .
Note: Intensity of light also changes, because a part of it is reflected.