The best way to compare them in both apps is to match a hdri with studio lighting and match the light types in ue5. To calibrate the values use a 50% grey ball on both setups and adjust substance to look like in UE5.
Also don‘t use any exposure or other post process effect in UE5.