It was blood, sweat and iced coffee for Ronda Rousey on the set of "Blindspot" ... where the UFC legend was decked out in an orange prison jumpsuit for her guest role on the show.

As we previously reported, Rousey is playing a violent gun-running felon on the NBC show (which airs in March) -- and judging by the blood spot on her jumpsuit, we're guessing she beats the hell outta someone.

The good news ... Rousey was smiling and appeared to be in great spirits on the set.