Oil prices rose on Thursday amid Middle East tensions and a big fall in U.S. crude stocks, but gains were capped as weak Western manufacturing data indicated slowing economic growth and in turn the potential for reduced fuel demand.
Brent crude futures rose 28 cents or 0.4% to $63.46 a barrel, after dropping 1% on Wednesday - the first fall in four sessions.
U.S. West Texas Intermediate crude settled up 14 cents, or 0.3%, at $56.02 a barrel, having dropped 1.6% in the previous session.
U.S. crude stocks fell by nearly 11 million barrels last week, the Energy Information Administration reported on Wednesday, well above analysts' expectations for a drop of 4 million barrels.
"While that draw was influenced by temporary factors - Hurricane Barry - U.S. crude inventories have plunged by 40 million barrels over the last six weeks, suggesting the oil market is finally rebalancing," UBS analyst Giovanni Staunovo said.
Oil prices have also been under pressure from concerns about global economic growth amid growing signs of harm from the U.S.-China trade war that has rumbled on over the last year.
However, the White House said on Wednesday top U.S. and Chinese negotiators would meet next week to continue talks, and global equities edged up on the news.
"Despite the bullish supply-side fundamentals and geopolitics that support oil prices, it seems that the market needs a positive economic catalyst to move appreciably higher," said Harry Tchilinguirian, global oil strategist at BNP.
"If we get positive echoes next week from renewed U.S.-China trade talks, then oil can advance noticeably higher."
A series of purchasing manager index (PMI) readings in the United States and Europe were weaker than expected.
The German PMI, tracking the manufacturing and services sectors, hit a seven-year low in July, suggesting a deteriorating growth outlook for Europe's largest economy. The fall was driven by the auto sector on poor sales to China.
Set against those worries are tensions in the Middle East following the seizure of a British-flagged tanker in the Gulf by Iranian forces last week.
The military adviser to Iran's supreme leader was quoted on Wednesday as saying any change in the status of the Strait of Hormuz, which Tehran says it protects, would open the door to a dangerous confrontation.
Britain, meanwhile, gained initial support from France, Italy and Denmark for its plan for a European-led naval mission to ensure safe shipping in the Gulf.