洋服 is somewhat dated;
西装 (xīzhuāng, "Western suit") is the standard modern term.
洋服 still appears in literature, period dramas, and Cantonese-speaking regions, evoking early 20th-century China when Western dress contrasted with
中装 (Chinese clothing).