Refractive Index can be seen as the factor by which the speed and the wavelength of the radiation are reduced with respect to their vacuum values.
w = cnv (where n:refractive index,c=speed of light,v:velocity of light in that medium)
Refractive index of one medium in relation to a second medium is given by ratio of speed of light In second medium to speed of light in first medium.