New timer switch has a blue wire instead of red wire
With the exception of white == neutral and green == ground, wire colors mean basically nothing in the US/Canada electrical system. Typically black = hot and red = switched hot, but it can vary. Blue? Could be hot or switched hot.
Generally speaking, the best way to do things if it is not a clear, exact replacement, is to figure out what you have. Sometimes you can figure that out from the old connections, and if you can't understand it from the old connections, if you can upload a picture before disconnecting wires, we can often figure it out for you.
In addition, with wires disconnected but safely capped, it is generally safe to turn the breaker back on and use a non-contact tester to determine which wire(s) is hot. Note that sometimes white will be hot rather than neutral in a switch loop, so that is not necessarily an error but actually a clue - because then black is switched hot.
The instructions on the new device should detail which wires are which - e.g., in this case what red and blue mean. In a simple switch (not 3-way, 4-way, smart, dimmer, motion detector, etc.) there is no difference between &quot;hot&quot; and &quot;switched hot&quot;. But with anything more complex, you need to know what wires are hot, switched hot, traveler, etc. If the manual doesn't make it clear, that is not a good sign.