One of the earliest games to feature blood and realistic violence was Rambo for the Nintendo Entertainment System. Based on the film Rambo: First Blood Part II, it showed some of the first pixels of blood ever seen in gaming. It launched in Japan on December 4, 1987, and reached North America in May 1988.
The first game to depict blood and gore realistically, however, was Mortal Kombat, whose graphic content helped prompt the creation of the ESRB rating system amid lawsuits over game age ratings. Mortal Kombat debuted in arcades in 1992 and on home consoles in 1993, later spawning many sequels and remakes and becoming one of the most popular American fighting games ever.
Fun fact: both games were published for home consoles by Acclaim.