It will fit the motherboard with no problems, if it will have clearance for your memory is another question since you never listed it.
The Cryorig H7 is just as good of a cooler with no clearance issues, the H5 is a bit better cooler with no clearance issues.
https://pcpartpicker.com/parts/compare/cryorig-cpu-cooler-h5universal%2Ccryorig-cpu-cooler-h7/