>>56789121At lower BST, balanced is better
At higher BST, it's usually better for that BST to favor defence
At 250, something like 80/85/85 would be best
But at 350 something more like 100/125/125 would be better.
At super high BST, or if you're focusing that BST into just one defensive stat, then HP starts getting more important again, as individual points of defense start to matter less, because Defense works by a ratio of Attack to Defense, while HP value remains more or less static. So like a focused 250 should probably look like 100/100/50, a focused 300 should probably look like 130/120/50, and just a super high defensive stat spread, say, 400 should probably look like 150/125/125. I dunno the exact mathematic points at which defense stat ratios get harsh, but, think of it like this. A pokemon that doubles it's defensive stat takes half damage from that offense. This is why you see things like Chansey going all in on Defense investment with EVS, the 63 stat increase matters a lot more on a pokemon that sits at 46 after IVs naturally. Chansey has base 5, increasing the base to 10 doesn't quite double their physical bulk, while Aggron is at base 180, and increasing that to 185 has a nearly negligible difference in physical bulk. If you have 5 more points of BST to give Aggron, you are much better off increasing HP than Defense to improve its physical defenses (and shore up its special bulk while you're at it, the other reason HP is nice)
At lower BSTs, you benefit more from getting ahead in that stat ratio check than you do HP which evaporates instantly because of how bad your ratios are, at moderate BSTs shoring up HP to approach a balanced spread should take priority, and then keep increasing HP to make fat HP rolls backed by reasonably good defensive ratios for maximum bulk. Another way is to see that having "
bad defenses is worse than having good defenses is beneficial, while having bad HP is less detrimental than having good HP is beneficial.