If you are trying to 'match' two colours, you are trying to find a colour that is identical in shade to another.
When one is trying to find a pair of trousers to go with a shirt, one might have a blue shirt with grey trousers - they would go together. However, a green shirt with blue trousers would clash. Choosing items of clothing which go together is really a matter of choice and one's own taste - which others may not agree with!
But if a woman was trying to find a matching silk blouse and woolen skirt, she would be trying to find a skirt and blouse of exactly the same shade of blue, or green or whatever.
Student or Learner