What wires match up on a ceiling fan where ceiling has black white red and fan has black blue white?

Black to Black - Black from the ceiling is a hot wire and should be switched Red to Blue - Red wire is another hot wire and should also be switched White to White - White from the ceiling is the neutral and should not be switched. Your wall should have two switches, one will control the red wire, one will control the black wire. If you wire your fan as above, one switch will turn the fan on, the other will turn the light of the fan on.