Abstract. The complete elliptic integrals are generalized by using the generalized trigonometric functions with two parameters. As an application of the integrals, an alternative proof of a result for a family of means by Bhatia and Li, which involves the logarithmic mean and the arithmetic-geometric mean, is given. Moreover, it is shown that a particular relation holds for the generalized integrals.Mathematics subject classification (2010): 33E05, 33C75, 34L10.