That's a possible explanation, but the same happens to me
during the day, even when I'm well rested.
Cold light is much closer to natural sunlight than warm light. So working in a warm-lighted environment can be seen as being deprived of the blue parts of the spectrum that should be there. Blue light keeping you awake is a feature because the natural environment in which we evolved is saturated by it during the day.
I use blue light filters on my screens too, but they're timed to turn on around sunset. Ideally, everyone would have adequate access to raw sunlight during the day, but that's not the case for many (myself included) - whether because they live/work in a city, or because it's overcast weather, or both (like me, right now).