fit like a glove
Be the right size and well suited; also, be in conformity with. For example, That position fits him like a glove. Tobias Smollett used this simile, rather incongruously, in Humphry Clinker (1771): "The boots ... fitted me like a glove." [Second half of 1700s] Also see to a T.
Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.