The deep blue color observed when sodium is dissolved in liquid ammonia is due to the presence of solvated electrons. These electrons are free to move within the solution, creating the characteristic color. This phenomenon occurs because sodium metal dissociates to produce Na$^{+}$ ions, leaving behind free electrons that are solvated by ammonia molecules.