A Rudy Gestede hat-trick helped Blackburn to a 4-2 victory over Birmingham in the Sky Bet Championship on Monday.