HLB is a system describing the hydrophilic vs lipophilic portions of certain amphiphilic molecules and helps determining optimal formation of ‘stable’ cubic phases. This has nothing to do with water retention. If you want to retain water within a product, add humectants (hygroscopic substances).