An artist uses four distinct colors in his latest painting–red, blue, green, and yellow– with ounces used in a ratio of 10:22:4:18, respectively. The artist used a total of 189 ounces of paint to complete the piece. How many ounces of blue paint did he use?