First let's think about this conceptually - When white light is sent through a prism, what happens?
It gets broken into R O Y G B I V due to the varying indices of refraction.
What causes these different indices of refraction?
When light moves from a vacuum, to a different medium, it slows down.
Index of refraction n = c / v
c = speed of light in a vacuum (constant)
v = speed of light in medium
v = f
λ
λ = v/f (or c/f for light in a vacuum)
f = frequency. remains constant (different colors of light have different frequencies, but one color will have the same frequency even after going through a different medium)
λ = wavelength, which can change
So, which should have a higher index of refraction?
Above, lambda nought is initial wavelength. lambda is wavelength in the medium.
Frequency cancels out, since it is constant before and after going through a medium (we aren't comparing 2 colors, but 1 color before and after going through a medium)
No matter what, lambda will be less than lambda nought and travelling in a medium will be slower than in a vacuum.
Red light will have a larger wavelength than blue light.
So, red light will have a larger v than blue light.
So, red light will have an index of refraction closer to 1, compared to blue light.
The closer the index of refraction is to 1, the less the light will bend.
So, blue light will bend further than red light.