Some solar panels are blue due to an anti-reflective coating. This coating helps improve the absorbing capacity and efficiency of the solar panels. You will most commonly find this blue coating on polycrystalline panels.
Black solar panels, which tend to be monocrystalline panels, are often more efficient. This is because black surfaces naturally absorb more light.