Light has a constant speed, c, only in a vacuum.
In other transparent materials, light travels more slowly.
The ratio of the speed of light in a vacuum to the speed of light in a material
is called the refractive index.
For example, in glass light travels about two-thirds of c,
so its refractive index is about 1.5.
See also in The book of science:
Readings on wikipedia: