Blue stars are hotter than the sun, with surface temperatures exceeding 10,000 Kelvin compared to the sun's approximately 5,500 Kelvin. Star color indicates surface temperature: blue stars are hottest, followed by white, yellow, orange, and red stars as coolest.