This work proposes an interfacing technique that uses the built-in three-phase transmission line models available in simulation platforms to perform Root Mean Square (RMS)- Electromagnetic Transient (EMT) real-time, multi-domain and multi-rate co-simulation. The main objective of this paper is to show the application of this kind of simulation in hardware-in-the-loop (HIL) testing of protective relays. Two well-known platforms are considered in this work: OPAL-RT with its ePhasorSim tool is used for RMS simulation, and RTDS is used for EMT simulation. However, the proposed technique is sufficiently general to be applied to other real-time simulation platforms that have similar built-in transmission line models. To convert waveforms to phasors, a non-buffered rapid curve fitting method was implemented to attend to real-time constraints. During the testing phase of this research, tests for the HIL were completed using an actual transmission line protection relay. The presented results of tests highlight the benefits of the proposed interfacing technique.