Hydrophilic/hydrophobic balance for cosolvent selection