SN74HCT540: Question about SN74HCT540 :

Part Number: SN74HCT540

Hello,

I have an assembly with the SN74HCT540 followed by another inverter (ULN2803A).I would like to know if I can replace these 2 components with the 74HCT541.

Thank you.