https://news.gallup.com/poll/107770/most-say-race-will-facto...
Blacks were 19% more likely to vote for Obama because he was black and 2% less likely. Whites were 5% more likely to vote for Obama because he was black and 6% less likely.
https://www.telegraph.co.uk/news/politics/local-elections/20...
Obama ended up with near-unanimous support from the black vote in the primaries, beating Hillary.