yeah, the light was emitted with wavelength 440nm, which decreased to 420nm (which is "nearer the blue end" of the EM spectrum) on observation at the Earth due to the Doppler shift.
If the initial wavelength was 400nm, it would've moved 20nm nearer the red end of the spectrum.