We present a charged analogue of Pant et al. (2010, Astrophys. Space Sci., 330, 353) solution of the general relativistic field equations in isotropic coordinates by using simple form of electric intensity E that involve charge parameter K. Our solution is well behaved in all respects for all values of X lying in the range 0 <X≤ 0.11, K lying in the range 4 <K≤ 6.2 and Schwarzschild compactness parameter u lying in the range 0 <u≤ 0.247. Since our solution is well behaved for wide ranges of the parameters, we can model many different types of ultra-cold compact stars like quark stars and neutron stars. We have shown that corresponding to X = 0.077 and K = 6.13 for which u = 0.2051 and by assuming surface density ρ b =4.6888×1014 g cm −3 the mass and radius are found to be 1.509M ⊙, 10.906 km respectively which match with the observed values of mass 1.51M ⊙ and radius 10.90 km of the quark star XTE J1739-217. The well behaved class of relativistic stellar models obtained in this work might have astrophysical significance in the study of more realistic internal structures of compact stars.