"The bipartisan bill from Democratic Sen. Joe Manchin of West Virginia and Utah Republican Sen. Mitt Romney requires that members abide by a real dress code – rather than an unwritten custom – when on the Senate floor, that includes a coat, tie, and slacks for men."
https://www.cnn.com/2023/09/27/politics/senate-passes-formal-dress-code/index.html