When you leave your house to be in the presence of company, the dress code should be: Intentional.
Communication between two individuals happens through multiple channels simultaneously. The most obvious is verbale communication, but just as important, if not more, are the other channels such as body language, eye contact, and your attire.
What you decide to wear in the presence of another is a signaling mechanism that allows you to communicate anything from your personality to the respect you have for the other party.
Whether you decide to where a toga, a suit, or a spacesuit, what really matters is that it’s intentional.