The actual temperature of the sun is over 5000k (yes, the k in lightbulb temperature corresponds to the Kelvin scale of temperature) but after being scattered by our atmosphere it appears cooler. And where did all that extra light go? It was scattered around, making the sky blue!