The outfit that sorted this in my head was a pair of tailored trousers, a simple knit and a blazer that didn't match the trousers but somehow looked like it meant to. Worn to a client meeting that moved to a pub afterwards, and I didn't feel overdressed in either room. That's the whole job of this category, really: one outfit, two settings, no changing clothes in a toilet cubicle.
A good piece in this space tends to come down to how it behaves when you move in it, not how it looks hanging still. Trousers that hold a crease but still bend at the hip without pulling tight across the thigh, a blazer with a bit of structure through the shoulder but enough give in the sleeve that you can reach across a desk, a knit in a fabric heavy enough that it doesn't cling or show every seam of whatever's underneath. Cheaper versions tend to give themselves away at the fastenings first, a button that sits slightly proud, a zip that catches, a lining that bunches at the hip the first time you sit down for a long meeting. Look at the inside of a hem too, a proper turn and a row of stitching that doesn't pucker tells you more than the label does.
If you're starting from nothing, I'd build around trousers in a dark neutral and a blazer that isn't trying to be a suit, because those two pieces will carry you through more days than any single dress or skirt will. Add one knit you'd happily wear under the blazer and over nothing else, because that's the piece that stretches the outfit from a boardroom to a Tuesday where nobody's watching.
This kind of wardrobe earns its stripes in autumn and spring, when you need layers that can come off through the day without the whole look falling apart, and it struggles a bit in deep summer, when a blazer becomes something you carry rather than wear. Over months, the trousers will show wear at the knee and seat before anything else, so a cool wash and hanging rather than folding keeps the shape honest for longer. Blazers want a steam rather than an iron pressed straight onto the fabric, which flattens the structure you paid for.
The mistake I'd steer you away from is buying the whole outfit in one trip, matching trousers to blazer to knit like a uniform. Nothing dates faster, and nothing is harder to rewear without someone clocking it as the same outfit from the photo on the work intranet.