The temperature of a star is directly proportional to its luminosity. The hotter a star, the more luminous it is. Blue stars are the hottest stars, and therefore they have the highest luminosity.