Hernandez (3-2) allowed just two runs on four hits over seven innings to pick up the win, the 146th of his career, and move past Jamie Moyer for most in franchise history.
"It means a lot," Hernandez said. "It's an honor to be on top of that list. I'm happy for that. It was a great team effort, great win for us."
King Felix improved to 8-0 with a 1.67 ERA and 80 strikeouts in 11 starts against Tampa Bay at Safeco Field, including the 23rd perfect game in history in 2012. He is 8-2 in his career against the Rays with a 1.94 ERA and hasn't taken a loss against them since Aug. 19, 2011.
"He's gone through a lot in his career. It was great to see him achieve it tonight," manager Scott Servais said.
He might not have without Marte's career night. He went 4-for-5 with two doubles, three RBIs and three runs scored.
"Huge game. That's about all you can do in a baseball game," Servais said.
With the game tied at 2 in the sixth inning, Marte hammered the first offering from reliever Geltz over the right-field wall to give the Mariners a 5-2 cushion.
"I was looking for that fastball," Marte said. "I just tried to put my good swing, and you see what happened, I got the homer."
The Mariners were 0-for-9 with runners in scoring position before Marte's homer, his first of the season. His three RBIs matched a career high.
"It took us to his third at-bat to figure out it didn't matter where the heater was, he was getting to it," Rays starter Matt Moore said.
Seattle left runners stranded on second and third base in each of the first two innings.
Marte doubled to lead off the third inning and advanced to third on a groundout by Robinson Cano. Marte beat a strong throw home from Kevin Kiermaier to score the first run of the game on Nelson Cruz's sacrifice fly.
"Marte is probably the only guy on our team that scores on that throw," Servais said.
Marte scored on a wild pitch from Moore to tie the game at 2 in the fifth inning.
Mariners: RHP Taijuan Walker is expected to be fine for his next start Wednesday against Tampa Bay. Walker left his last start after two innings due to neck spasms. The issue has subsided in recent days, and he was able to throw his normal bullpen session Monday. ... RHP Joaquin Benoit was expected to throw a light bullpen session Monday as he works back from inflammation in his right shoulder. Benoit was placed on the 15-day disabled list April 25 and became eligible for reinstatement Saturday.
Rays: 2B Logan Forsythe left the game in the third inning and was replaced by Tim Beckham. Forsythe was hit by Hernandez's pitch in the top of the third and remained in the game for baserunning purposes. However, when it came time to take the field, he returned to the dugout with a bruised shoulder. X-rays were negative, and he's considered to be day-to-day.
Mariners: Wade Miley (2-2, 4.74 ERA) will make his seventh start this season Tuesday against Tampa Bay. Miley had a no-decision in his last outing, a 6-3 win at Houston. Miley allowed two runs on five hits over six innings. Miley was 1-2 with a 3.09 ERA in five starts against Tampa Bay in 2015 while with Boston.
Rays: Drew Smyly (1-3, 2.72 ERA) had his shortest outing of the season last time out against the Los Angeles Dodgers. Smyly took a no-decision after allowing just two runs on five hits over five innings. Smyly has allowed two earned runs or fewer in five consecutive starts.
Houston Astros starter Luis Garcia leaves Game 2 of ALCS in second inning with undisclosed injury
Pitcher Luis Garcia started Game 2 of the American League Championship Series for the Astros on Saturday, but left in the second inning with an injury and Houston trailing, 4-0, to the Boston Red Sox.
2021 MLB playoffs - Best moments from Saturday's league championship series action
Saturday's league championship series action is the latest display of October magic.
Injured Lance McCullers Jr. still looking to help Houston Astros: 'Can be there for them in more ways than one'
Sidelined for the ALCS, Astros ace Lance McCullers Jr. is heartbroken but trying to stay upbeat by helping the rest of his team in its matchup with the Red Sox.
Houston Astros to start Jose Urquidy in ALCS Game 3; Boston Red Sox undetermined
Jose Urquidy will make his first start of this postseason when he takes the mound for the Astros in Game 3 of the ALCS. The Red Sox have yet to name a starter for Monday's game at Fenway Park.
Los Angeles Dodgers to start reliever Corey Knebel in Game 1 of NLCS vs. Atlanta Braves
The Dodgers will start right-handed reliever Corey Knebel in Game 1 of the NLCS against the Braves on Saturday night.
Houston will look to extend series lead over Boston in Game 2
Boston Red Sox (92-70, second in the AL East) vs. Houston Astros (95-67, first in the AL West)