Three socks. You must take 3 socks to ensure you have at least 2 of the same color.