Levi Strauss & Co fetched a higher price than expected in its initial public offering (IPO) yesterday.

It sold $623.3m in shares as the US jeans maker returned to the stock market after 34 years as a family-owned company. 

The success of the IPO underscores the diverging fortunes of retail companies over the last few years. 

Vendors like Levi with consistently popular offerings have flourished as they reach more shoppers through online channels, while tens of thousands of brick-and-mortar stores have closed under pressure from e-commerce giants such as Amazon.com. 

With the stock market hovering near all-time highs, Levi said it priced its IPO at $17 share, just above its target range of $14 to $16, valuing the company at about $6.6 billion. 

The company claims to have invented blue jeans in the 19th century and is named for the man who founded it in 1853.

In the IPO, $462.4m worth of stock was sold by existing stockholders and the company sold $160.9m in shares. 

Levi is setting the stage for a bumper year for IPOs that will also feature the likes of ride-hailing startups Lyft and Uber Technologies later this year.  

IPOs in the US amassed to $60.8 billion in 2018, up 23% from a year earlier and the highest since 2014, according to data provider Dealogic. 

The popularity of denim is surging, driven by new styles such as high-waist and pinstriped jeans. 

Earlier this month American Eagle Outfitters and Abercrombie & Fitch posted strong results boosted by denim sales.

Levi reported net revenue of $5.8 billion for the 12 months ending November 25, up from $4.9 billion the year before. Net income was $285.2m, only slightly up from $284.6m a year earlier. 

The Haas family, the descendants of Levi Strauss, will sell a small chunk of their shares and will continue to control the company. 

They took it private in 1985 in a $1.6 billion leveraged buyout. Levi Strauss first went public in 1971. 

Founder Levi Strauss moved to San Francisco in 1853 during the California gold rush, opening a dry goods business. 

The company he founded has laid claim to inventing blue jeans when Strauss and a partner in 1873 received a patent on using rivets to make clothes, a practice that still distinguishes the company's jeans.

Over the years the company added new lines, including the office casual Dockers brand. 

The proceeds from the IPO will boost Levi Strauss' coffers to invest in broadening its product range.