Dropbox Inc. has closed on about $250 million in a funding round that values the online-storage provider at close to $10 billion, according to two people familiar with the deal.

A BlackRock Inc. investment fund is leading the deal, which is set to include previous backers, said one of these people, who declined to provide more detail.

A spokeswoman...