Alkaline earth metals dissolve in liquid ammonia to form bright blue coloured solutions in dilution because of
Solvated electrons
Like alkali metals, alkaline earth metals also dissolve in liquid ammonia to form coloured solutions. Dilute solutions are bright blue in colour due to solvated electrons.
M + (x + 2y)NH3 → [M(NH3)x]2+ + 2[e−(NH3)y]−