A cosmetic composition includes a non-acid-resistant-grade ultramarine dye, a stabilizing agent, at least one additive, and water. The ultramarine dye may be present at a concentration of about 0.1% to about 0.4%, by weight, of the cosmetic composition and may include a trisulfur radical anion. The stabilizing agent may include baicalin and may be at a concentration of about 0.2% or less, by weight, of the cosmetic composition. The cosmetic composition may have a pH in the range of 6.5 to 8.0. A method of stabilizing a cosmetic composition includes forming a cosmetic composition including a non-acid-resistant-grade ultramarine dye, a stabilizing agent, at least one additive, and water. The method also includes adjusting a pH of the cosmetic composition to a predetermined value. The stabilizing agent inhibits degradation of the ultramarine dye, thereby stabilizing the cosmetic composition and inhibiting generation of an odor caused by degradation of the ultramarine dye.