LOS ANGELES – Democrats are reeling after Republicans captured the White House and Congress. In Washington, the infighting has begun. And potentially most alarming for the party about to be out of power, there is a paucity of younger Democrats ready to run for office: Hillary Clinton is 69. Bernie Sanders, her main opponent in the Democratic presidential primary, is 75.

The answer for Democrats may be to look West. California Democrats (and to a lesser extent, Republicans) are in the midst of a generational renewal, as some of the old lions of the party – Gov. Jerry Brown, 78; Senator Barbara Boxer, 76; Senator Dianne Feinstein, 83; and Nancy Pelosi, the house minority leader, who is 76 – approach the end of their public careers. And there is no shortage of rising Democratic figures ready to take the reins in California.

This new class of Democratic leaders seems likely to reshape the political face of California for a generation. But for national Democrats, they also represent a potential talent pool of leaders who can help pull the party out of the worst crisis it has faced since 2005, the last time the Republicans controlled the White House and both houses of Congress. California also stands ready to become a laboratory for Democratic policy that, it seems fair to say, will have little chance for enactment in Washington, at least for the next two years.

There may be no more Democratic state than California in this new Trump era. This election delivered the party two-thirds control of both houses of the Legislature, in addition to control of all statewide elected officials. And Democrats here stand in stark contrast in terms of ideology and demographics to Mr. Trump and his followers.

That has been particularly clear this week in Sacramento, where the Democratic leaders of the Assembly and Senate— Kevin de Leon, the president of the Senate, and Anthony Rendon, the leader of the Assembly – introduced legislation intended to thwart any effort by Mr. Trump to crack down on immigration.

“Californians may accept the lawfulness of the November election, but millions of us do not accept the sentiment delivered by this election,” Mr. Rendon said as the legislative session opened. “It is up to us to pass policies that would firewall Californians – and what we believe – from the cynical, short-sighted and reactionary agenda that is rising in the wake of the election.”

Both Mr. Rendon and Mr. de Leon are viewed as part of this new class of leaders. They are also Latino, like many of the elected officials on the list below. Latinos now make up 40 percent of the state’s population. In the latest sign of their rising influence here – and presumably nationally, at least at some point – Mr. Brown appointed Representataive Xavier Becerra of Los Angeles as attorney general, succeeding Kamala Harris, who was elected last month to fill Ms. Boxer’s position in the Senate.

Ms. Harris is widely seen as having a future in either national or state politics. Yet one of the striking things about this generational transformation taking place is that so far, it does not include many women. Karen Skelton, a Democratic consultant, said that the fact that three top California Democrats were women who had held office for more than a decade – Ms. Boxer, Ms. Feinstein and Ms. Pelosi – might have crowded out younger women looking to move into the ranks.

But, she said in an e-mail, “I’m optimistic in the long run that Hillary’s candidacy broke the glass ceiling of politics for many, especially in terms of fund-raising.”

With an eye to the years ahead in California and the nation, here is a look at some of the top California contenders, almost all Democrats – this is, after all, one of the most Democratic states in the nation – but with one Republican who is often mentioned as having a statewide political future.