Break out the blue, because it's a boy for Kourtney Kardashian and her boyfriend Scott Disick. The longtime couple announced the news on Sunday's episode of "Kourtney & Khloe Take the Hamptons" with the help of their 4-year-old son, Mason.

Kardashian had Mason show the family a blue stick with either a red star, to indicate she was pregnant with a girl, or a blue stick with a blue star, to indicate she was expecting a boy. When Mason whipped out a blue star the family cheered.

"I'm so happy we're having a boy," Kardashian said. "It's going to be perfect for our family."

This will be the third child for Kardashian and Disick. They are already parents to Mason and Penelope, 2.

"Mason ran in here with the blue stick. There was a red star or a blue star," she told her sister Khloe Kardashian.

The 35-year-old is set to give birth later this month. Kardashian recently flaunted her baby bump on the cover of DuJour magazine for a nude photo shoot. She explained to the publication that she really enjoys being pregnant and is not ashamed of her naked body.

"I had done a nude shoot when I was pregnant with Mason, really last minute just for myself, and I love it," she told the magazine. "The photo is hanging in the entry of my mom's house. It actually used to be in her bedroom next to her bed but Bruce would always make a comment about having it in his room. But it was really beautiful."

"To me nudity is not something to be ashamed of," Kardashian added. "I'm not embarrassed by my body. I'm at my best when I'm pregnant. It's such an amazing feeling, the transformation that your body goes through. There's something about that that's so empowering and beautiful and I just really embrace it."