Just note that since electrum is a SPV wallet, you have to connect to a server to get information about your UTXOs. if you are not running your own server and you connect to a server provided by a third party, the server owner can know your IP address and link your addresses to that.
Blockchain.com is a close-source wallet and there is no way to know how the keys are generated.
Electrum is much more secure. Of course, any online device is prone to hacking and if you want to be completely secure, you should create your electrum wallet on an air-gapped device.
Thanks, I have no money or crypto in Blockchain.com & don't think I'll be using them again. Electrum is very simple to use & despite my initial fright, I will use it again.