Chiney Ogwumike had 36 points and 17 rebounds and No. 3 Stanford beat Washington State 77-69 on Friday night to improve to 56-0 against the Cougars.

Taylor Greenfield and Amber Orrange scored 11 points each for the Cardinal. Stanford (22-1, 11-0 Pac-12) has won 21 straight games since losing to No. 1 Connecticut.

Lia Galderia had 21 points, and Tia Presley added 20 for Washington State (12-11, 6-5). The Cougars have lost five of their past six games after a 5-0 start to conference play.

Ogwumike was the difference in the close and exciting game.

Stanford had a 46-30 rebound advantage.

She scored eight points as Stanford jumped to a 17-8 lead. With Stanford leading 26-16 late in the first, Washington State went on an 8-0 run. Presley's layup cut Stanford's lead to 26-24.

Ogwumike, who had 12 points in the first, sank a short jumper at the buzzer to give Stanford a 28-24 lead at halftime.

Washington State kept it close despite shooting just 28 percent (9 of 32) in the first half, while Stanford made 13 of 30 for 43 percent.

Ogwumike made four quick baskets in the opening minutes of the second half, as Stanford took a 38-33 lead.

Galdeira sank a couple of baskets to bring Washington State to 43-41, but Karlie Samuelson replied with a 3-pointer for Stanford. Ogwumike added a layup and two free throws as Stanford built a 50-41 lead.

Galdeira scored eight points as Washington State cut Stanford's lead to 54-52. Dawnyelle Awa's 3-pointer gave Washington State its first lead at 55-54.

Stanford scored the next seven points for a 61-55 lead. Presley and Sage Romberg hit consecutive 3-pointers as the Cougars tied it at 61 with 5:25 left.

But Ogwumike sank a pair of baskets during an 11-4 run that put Stanford ahead 72-65 with 2:26 left.

Washington State could not make up the ground and had to foul.

Ogwumike, the Pac-12 scoring leader, made 15 of 22 shots. It was her 18th double-double of the season

Washington State, enjoying its best season in more than a decade, has never beaten a team ranked in the top five.