Investigators in the southwestern Swedish town of Trollhattan confirmed that yesterday's school attack was a "racially motivated" hate crime, based on the 21-year-old assailant's "attire, his behaviour at the scene of the crimes".
Police investigator Thor Haraldsson said the assailant targeted "those with dark complexions".
The killer, identified in the media as Anton Lundin-Pettersson, went from classroom to classroom at the school for six to 15-year-olds.
He killed one teacher and a student, and injured another teacher and student who both remained in hospital today.
Also Read
A country of 9.8 million, Sweden expects to receive up to 190,000 asylum applications this year - putting it among the EU states with the highest proportion of refugees per capita as the continent struggles with a massive influx of migrants.
Support for the far-right has mounted as Sweden's ability to house and integrate the new arrivals comes under strain.
An opinion poll today showed the Sweden Democrats garnering 15.7 per cent of voter sympathies, up from the 12.9 per cent it won in the 2014 election when it became the country's third-largest party.
The Sweden Democrats recently said they wanted a referendum to be held on the government's generous immigration policy, though they have little chance of obtaining such a vote.
More than a dozen arson attacks this year have targeted refugee reception centres and apartments in Sweden, reducing some of them to cinders.
Swedish anti-racism magazine Expo said a "rhetoric of hatred" was blowing across the Scandinavian country.
"The risk is that we will see an escalation, legitimised by doomsday rhetoric and fomented in hatred's digital echochamber," editor-in-chief Daniel Poohl wrote.
In Germany, which is bracing for up to a million asylum requests this year, officials said yesterday they had foiled an extremist plot to torch two asylum centres, arresting 13 members of a far-right movement.