A visual proof using the Pigeonhole Principle.
Question: What is the minimum number of socks you must pull out, without looking, to guarantee a matching pair in the same color?
To delay getting a matching pair as long as possible, you would try to draw one sock of each color first.
Think of the colors as the pigeonholes:
With 4 socks placed into only 3 color categories, at least one category must contain 2 socks.
The first 3 socks could be one red, one yellow, and one blue, so no pair is guaranteed yet. But the 4th sock must be red, yellow, or blue again, so it must match one of the socks already drawn.