The Battle of the Barents Sea was a World War II naval engagement on 31 December 1942 between warships of the German Navy (Kriegsmarine) and British ships escorting convoy JW 51B to Kola Inlet in the USSR. The action took place in the Barents Sea north of North Cape, Norway. The German raiders' failure to inflict significant losses on the convoy infuriated Hitler, who ordered that German naval strategy would henceforth concentrate on the U-boat fleet rather than surface ships.
Convoy JW 51B comprised fourteen merchant ships carrying war materials to the USSR — some 202 tanks, 2,046 vehicles, 87 fighters, 33 bombers, of fuel, of aviation fuel and just over of other supplies. They were protected by the destroyers , , , , and ; the s and ; the minesweeper ; and trawlers and . The escort commander was Captain Robert Sherbrooke RN (flag in Onslow). The convoy sailed in the dead of winter to preclude attacks by German aircraft, like those that devastated Convoy PQ 17. Force R (Rear-Admiral Robert L. Burnett), with the cruisers and and two destroyers, were independently stationed in the Barents Sea to provide distant cover.
Operation Regenbogen
On 31 December, a German force, based at Altafjord in northern Norway, under the command of Vice-Admiral Oskar Kummetz, on Admiral Hipper set sail in Unternehmen Regenbogen (Operation Rainbow). After Convoy PQ 18, the force had waited to attack the next Arctic convoy but their temporary suspension by the British during Operation Torch in the Mediterranean and Operation FB, the routing of single ships to Russia, had provided no opportunity to begin the operation. The force comprised the heavy cruisers , Lützow (the renamed Deutschland), and destroyers , , , , and .
JW 51B sailed from Loch Ewe on 22 December 1942 and met its escort off Iceland on 25 December. From there the ships sailed north-east, meeting heavy gales on 28–29 December that caused the ships of the convoy to lose station. When the weather moderated, five merchantmen and the escorts Oribi and Vizalma were missing and Bramble was detached to search for them.