Hate crimes in California surged 31% in 2020, fueled mainly by a big jump in crimes targeting Black people during a year that saw the worst racial strife in decades, according to an annual report released Wednesday by the state’s attorney general.

Long Beach, however, bucked that trend, with 18 hate crimes reported in 2020, down from 23 in 2019—the city’s highest number in more than a decade.

Across the state, hate crimes increased from 1,015 to 1,330 last year, while the number of victims increased 23%, from 1,247 to 1,536. Black people account for 6.5% of the state’s population of nearly 40 million people but were victims in 30% of all hate crimes—456 overall, up 87% from the previous year.

“What we see from these reports is what we have seen and felt all year—we are in the midst of a racial justice reckoning in this country. It’s multi-faceted, and it cannot be solved overnight.” Attorney General Rob Bonta said.

In Long Beach, five of the 18 reported hate crimes—or 28%—were aimed at Black people even though they make up only about 12% of the city’s population. White people were the most frequently targeted group, accounting for eight of the 18 reported crimes, or 44%. White residents make up about 28% of Long Beach’s population.

Most of the anti-White incidents in Long Beach were related to graffiti found in November, according to a database included in the attorney general’s report. By contrast, the anti-Black crimes were mostly violent offenses, including two serious assaults and a robbery where the assailants were armed with guns, according to the database.

The five anti-Black crimes was a decrease from 2019 when Long Beach police reported eight.

Crimes targeting the LGBTQ community also dropped in Long Beach last year, down from four in 2019 to two in 2020, according to the attorney general’s database. Statewide, crimes involving sexual orientation fell from 233 to 205. However, those with a gender bias increased, led by a jump in anti-transgender events from 29 in 2019 to 54 last year.

California overall also saw a surge in attacks on people of Asian descent following the emergence of the coronavirus in China—another trend Long Beach bucked, reporting zero hate crimes targeted at Asian victims.

While the number of hate crimes targeting Asians was low statewide—89—that was more than double the number in 2019. Most events during 2020 were reported in March and April, just as the statewide shutdown and other pandemic restrictions took hold.

“For too many, 2020 wasn’t just about a deadly virus, it was about an epidemic of hate as well,” Bonta said while speaking in Oakland’s Chinatown.

While the pandemic is easing, that fear still resides in the Asian American community, said Bonta, the state’s first Filipino American attorney general. He related that he feared even for his mother going alone into an urban area.

“There was a surge in anti-Asian violence correlated with the words of leaders who sought to divide us when we were at our most vulnerable,” Bonta, a Democrat, said in an apparent reference to former President Donald Trump.

California defines hate crimes as those targeting victims because of their race or ethnicity, nationality, religion, sexual orientation, gender or a disability. The definitions have been expanded at various times in recent years. Each hate crime event can include more than one related offense against more than one victim by more than one offender.

Statewide, such crimes targeting Latinos increased from 110 in 2019 to 152 last year, while those against White people rose from 39 to 82. There was one anti-Latino hate crime reported in Long Beach last year, down from four in 2019.

While hate crimes based on race increased, those prompted by religion dropped 13.5%. Anti-Jewish events fell from 141 in 2019 to 115 in 2020 and anti-Islamic events decreased from 25 to 15. In Long Beach, 2019 and 2020 each saw one religion-based hate crime.

Though Bonta said more than half of hate crimes are believed to go unreported, he said he has confidence in local investigators and prosecutors to address the problem.

Long Beach’s record of tracking hate crimes is actually better than some other large cities, Brian Levin, director of the Center for the Study of Hate and Extremism at Cal State San Bernardino, previously told The Post. However, he said, there’s a perennial concern about underreporting, particularly in immigrant communities that may have a language barrier or stigma about reporting incidents.

Bonta distributed a new law enforcement bulletin and guidance for prosecutors intended to help them to help them identify and investigate hate crimes, increase immediate and consistent contact with victims their communities and promote alternative forms of sentencing and restorative justice approaches when dealing with hate crimes.

Carl Chan, president of Oakland’s Chinatown Chamber of Commerce, praised Bonta’s office for also releasing updated brochures in 25 languages advising victims how to report hate crimes and seek assistance.

Chan, who was attacked from behind and knocked to the ground in April, said the brochures will help spur more reporting of such incidents.

The Chinatown has seen a decrease in traffic amid anti-Asian rhetoric, said Oakland City Councilwoman Sheng Thao. “People are fearful of walking the street.”

Gov. Gavin Newsom said he is seeking $300 million to address hate crimes, with one-third going to support victims and the remainder for community-based responses.

Long Beach Post Breaking News Editor Jeremiah Dobruck contributed reporting from Long Beach.