At the nanoscale, the refractive index can vary significantly from its bulk counterpart. This is due to quantum effects and the increased surface area to volume ratio, which can lead to surface plasmon resonance and localized surface plasmons. These phenomena can be exploited to create materials with tunable refractive indices.