Why HSL is easier to reason about than hex
Hex describes how much red, green and blue a screen should emit. That is what the hardware needs and almost never what a designer is thinking. Making #3B82F6 slightly darker means adjusting three numbers in a way that is not obvious, and getting it wrong shifts the hue.
HSL splits the same colour into hue, saturation and lightness, which map onto how people actually describe colour: the same blue, a bit less saturated, a bit darker. Building a palette from one hue at several lightnesses is arithmetic in HSL and guesswork in hex.