To explain my question lets consider this example:
The wavelength of light in a medium is $\lambda=\lambda_{0}/\mu$, where $\lambda_{0}$ is the wavelength in vacuum. A beam of red light ($\lambda_{0}=720$ nm) enters into water. The wavelength in water is $\lambda=\lambda_{0}/\mu = 540$ nm, assuming $\mu = 4/3$ for water.
According to the information available in the textbooks, this light appears red only in the water because even though the wavelength is changed, the frequency is not. It implies that to determine the colour of light/electromagnetic radiation, the wavelength doesn't matter, and only frequency matters, as frequency remains the same on the change of media.
It raises several questions:
Why does the colour of light depend on the frequency only and not on the wavelength?
Are we biologically designed to perceive only frequency and not wavelength? If yes, then why is that?
Why are then colours not defined only on the basis of frequencies? Why are they defined on the basis of wavelengths when wavelength doesn't even matter on the change of media?