We derive explicit formulas for the mean profiles of temperature (modeled as a passive scalar) in forced turbulent convection, as a function of the Reynolds and Prandtl numbers. The derivation leverages on the observed universality of the inner-layer thermal eddy diffusivity with respect to Reynolds and Prandtl number variations and across different flows, and on universality of the passive scalar defect in the core flow. Matching of the inner- and outer-layer expression yields a smooth compound mean temperature profile. We find excellent agreement of the analytical profile with data from direct numerical simulations of pipe and channel flows under various thermal forcing conditions, and over a wide range of Reynolds and Prandtl numbers.