Yes, according to the principles of special relativity, the wavelength of light can change relative to an observer's speed. This phenomenon is known as the Doppler effect, and it applies not only to light but also to other types of waves, such as sound waves.
The Doppler effect describes how the observed wavelength and frequency of a wave are affected by the relative motion between the source of the wave and the observer. When the source and the observer are moving closer together, the wavelength of the wave appears shorter (or "blueshifted"), resulting in a higher frequency. On the other hand, when the source and the observer are moving away from each other, the wavelength appears longer (or "redshifted"), resulting in a lower frequency.
In the case of light, as an observer moves toward a light source, the observed wavelength of the light will become shorter, shifting toward the blue end of the electromagnetic spectrum. This is called a blueshift. Conversely, if the observer is moving away from the light source, the observed wavelength will become longer, shifting toward the red end of the spectrum. This is called a redshift.
The Doppler effect has been observed in various astronomical phenomena, such as the redshift of light from distant galaxies, which provides evidence for the expanding universe. It is also used in various fields, including astronomy, physics, and medical imaging, to measure the relative motion of objects and study their properties.