Red rays have long wavelengths, but produce less energy. At the other end of the spectrum, the wavelengths are shorter, but the energy is stronger. Because blue rays emit higher amounts of energy, they're more likely to affect your eyes.
The Dangers Of "Blue Light"
Facts and Dangers of Blue Light, and How to Avoid or Decrease it!