Law has a dress code. A navy suit is safe. Black is safer. Shoes should be sensible. The message is clear: Blend in. Never give the jury something to talk about.

But a new class of lawyers is finding room for a little more zhuzh . Men are badging into Hudson Yards office towers in vintage sport coats and baseball caps. Women are power suiting in Celine pumps. Even jeans have made their way into firms that once treated them like contraband.

The softening of the dress code comes at a moment when lawyers are being forced to think harder about what, exactly, makes them indispensable. Artificial intelligence can already draft briefs, research case…