A method for dyeing keratin fibers, comprising applying to wet or dry keratin fibers, a ready-to-use composition comprising, in a medium suitable for dyeing, at least one composition (A) comprising at least one oxidation dye, ammonia, and at least one mesomorphic phase present in composition (A) in an amount greater than or equal to 10% by weight, relative to the total weight of composition (A), the at least one mesomorphic phase comprising at least one nonionic surfactant with an HLB value of less than or equal to 10 in an amount ranging from 10% to 20% by weight, relative to the weight of composition (A), the at least one mesomorphic phase chosen from inverse hexagonal phases (H2), lamellar phases (Lβ) and inverse cubic phases (I2 and V2), and at least one composition (B) comprising at least one oxidizing agent, wherein the ready-to-use composition is prepared extemporaneously at the time of use, and wherein the ready-to-use composition is left on the keratin fibers to act for a leave-in time ranging from 1 to 60 minutes approximately, rinsing the fibers and then optionally washing them with shampoo, then rinsing them again and drying them.