How is California so blue now?

California used to be one of the most Republican states in the country, with archconservatives Richard Nixon and Ronald Reagan coming from California who were pretty right wing presidents. How is it not just blue, but dark blue? Is it liberals who moved in during the 90s, or a sudden influx of Latinos who voted for Democrats? What happened?