We know the two conditions for total internal reflection :
1. The ray of light must travel from a denser medium into a rarer medium.
2. The angle of incidence in the denser medium must be greater than the critical angle for that pair of media.
Therefore, the refractive index of slab will be √(3/2)