It μr be the relative permeability and kr the relative dielectric constant of a medium, its refractive index is given by
1μrkr
μrkr
Refractive index , n=cv
Now c=1μ0k0 and v=1μ0k0μrkr
∴ n=μrkr