The union will discuss arrangements for workers to return to the port, Chan Chiu-wai, organizer at Union of Hong Kong Dockers, said by telephone Monday. Workers had earlier demanded a 23 percent gain, while employers offered a 7 percent increase.

The agreement ends the biggest labor action against Asia’s richest man, in which about 450 dock workers, crane operators and stevedores, walked out on March 28 demanding higher wages and better working conditions. The 40-day strike at the world’s third-largest container port spurred shipping lines to divert vessels to nearby Chinese ports, highlighting the increasing competition Hong Kong faces as costs escalate.

“The weak bargaining power and poor work conditions revealed by the strike could deter young people from working in the industry,” said Geoffrey Cheng, an analyst at Bank of Communications Co. “It is time for the government to think about its role and what it can really do for Hong Kong, which is already under threat amid rising competition.”

The workers, hired by contractors, will get an increase in wages from HK$55 per hour. The docks were operating at about 90 percent of capacity in the last week of April after new employees were hired and some strikers returned to work.

Hongkong International Terminals is operated by Hutchison Port Holdings Trust, whose largest shareholder is Li’s Hutchison Whampoa Ltd. Hutchison Port, along with partner Cosco Pacific Ltd., dominates half of the capacity at Hong Kong’s port. Hutchison Whampoa has interests in 52 ports globally from Panama to the Netherlands.

Terminals controlled by Hutchison Port also have a 46 percent market share in Shenzhen, where shipping lines including Evergreen Marine Corp Taiwan Ltd. diverted vessels because of the strike in Hong Kong.

“It’s surprising that the strike lasted for such a long time, which damaged Li’s reputation,” said Lawrence Li, an analyst at UOB-Kay Hian Holdings Ltd. Still, the financial impact on the port operator is “insignificant,” he said.

The dockworkers were demanding higher wages as rising living costs and record home prices spur discontent in the former British colony. Cathay Pacific Airways Ltd., the city’s main carrier, in December agreed on a deal with the flight attendants union, averting labor disruptions threatened after disagreements on wage increases and working conditions.

As the strike lengthened, port workers had surrounded Li’s office building, Cheung Kong Center, in the Central business district. Hutchison Whampoa won a court injunction to have the workers, who earlier led marches with pictures of Li as a vampire, barred from the building. The workers could demonstrate outside Cheung Kong Center.

The bargaining power of workers, who say their wages are down from 1995, have been weakened in the past decade as Hong Kong loses market share to Chinese ports.

Boxes handled by Hong Kong port fell 5 percent to 23.1 million last year from 2011, according to Hong Kong Port Development Council. Total volumes at Shenzhen, China, rose 1.6 percent to 22.9 million containers, according to Shenzhen Ports Association. Shanghai and Singapore are the world’s two biggest container ports.

Some workers were told last month they will lose their jobs as Global Stevedoring Service Co., one of the contractors which employs them, decided to wind up operations because it wasn’t able to meet the salary demands.

The port added temporary workers to help resume operation, and also offered more money to 300 crane operators who started a work-to-rule action on April 4 in support of the strike.

The daily financial loss caused by the strike was “significantly” cut in the last two weeks in April, Hongkong International said April 23, without elaboration. The daily loss narrowed to HK$2.4 million on April 5 from HK$5 million earlier, it said.

Li is boosting his dominance at Hong Kong port as Hutchison Port in March bought a box terminal from DP World Ltd. and a partner. The deal would happen because there is no anti-trust law in Hong Kong, according to Ronny Tong, a lawmaker and a barrister specializing in commercial, shipping and company laws.

After the deal, Hutchison Port’s share in the city’s port will be boosted to 64 percent of capacity, up from 55 percent, according to UOB-Kay Hian Holdings data. The city has a total of nine terminals.