A single slit diffraction partten is obtained using a beam of red light. If ref replaced by blue light then
Hello , Nice question
As wavelength of red light is longer (~650 nm) then wavelength of Blue light(~450 nm).
So when red light is replaced by blue light in a single slit diffraction , the diffraction pattern changes due to the shorter wavelength of Blue light , and the diffraction pattern shrinks , making the fringes closer together .