Why painters call blue a primary
In traditional color theory red, yellow and blue are the three colors that mix a useful range of others and cannot themselves be mixed. Red and yellow make orange, yellow and blue make green, and blue and red make purple.1
The set is a habit of painting, not a law of nature. Cyan, magenta and yellow reach a wider range of colors, and in that set blue is a mixture.1 Both descriptions are right for the paints they describe. See primary colors for the three sets side by side.