President Obama has modest leads in the key battlegrounds of Virginia and Wisconsin, while Mitt Romney leads in Colorado, according to a Quinnipiac University/New York Times/CBS News poll released Wednesday.

The most surprising result was in Colorado, where Romney leads Obama 50 to 45.

The RealClearPolitics average of polls shows Obama ahead by 1.2 percentage points in Colorado. This is the only poll this year to show Romney ahead in the state.

Perhaps buoying Romney in Colorado is his advantage on the economy — while the two candidates are roughly tied in Virginia and Wisconsin on who would do a better job handling the economy, Romney leads by 10 percentage points on that question in Colorado.

Obama is campaigning in Colorado on Wednesday.

In Wisconsin, Obama leads Romney 51-45, according to the poll. This is in line with the RealClearPolitics average, which shows Obama ahead by 6.

Obama edges Romney on the question of the economy in the Badger State, and holds a small lead among independents, who have otherwise leaned toward Romney in recent polling.

The Wisconsin numbers are good news for the Obama campaign, as many believed the gubernatorial recall election earlier this year would energize the GOP base for the presidential contest. Wisconsin hasn't backed a Republican for president since Ronald Reagan in 1984.

In Virginia, Obama leads Romney 49-45, despite Romney edging Obama on the question of the economy and among independents. This poll is also in line with the RealClearPolitics average, which shows Obama ahead by 4 percentage points.

Obama officially began his campaign at an event in Virginia in May. Virginia was a reliably Republican state in presidential elections until 2008, when Obama defeated Sen. John McCainJohn Sidney McCainOvernight Defense: Pompeo lays out new Iran terms | Pentagon hints at more aggressive posture against Iran | House, Senate move on defense bill Senate GOP urges Trump administration to work closely with Congress on NAFTA Sarah Sanders: ‘Democrats are losing their war against women in the Trump administration’ MORE (R-Ariz.) by 6 percentage points.

Colorado, Wisconsin and Virginia are three of the 12 swing states that will be critical in determining the outcome of the 2012 election.

The others are Michigan, Florida, North Carolina, Nevada, New Mexico, Iowa, Ohio, Pennsylvania and New Hampshire.

The polls in each state have 2.6 percent margins of error.