US health benefits company Anthem Inc (NYSE:ANTM) has sealed a 15-year contract to buy solar power from a new 20-MW plant under construction in the state of Virginia.