UVA is radiation in the wavelength range of 315 – 400 nanometers. It is primarily responsible for so-called "immediate tanning" – the tanning of pigments already present in the skin. This is the tan you typically notice immediately after a tanning bed session.

UVB is radiation in the wavelength range of 280 – 315 nanometers. UVB provides more skin thickening and pigment production. However, UVB is much stronger than UVA, which is why much less UVB is used in a tanning lamp (often only around 1%).

The visible part of the spectrum goes from 400 to 700 nanometers. This also indicates that UV light is therefore not visible. The fact that tanning lamps emit light is because a portion of the lamp's energy is "lost" as visible light.
The blue color of the lamps results in the least loss, which is the reason why tanning lamps are usually blue.