blue-jacket (n.)

also bluejacket, "a sailor" (as distinguished from a marine), 1830, from blue (adj.1) + jacket (n.).