Partner is bruised

My partner hasn't masturbated and we haven't had sex in ages.

His knob is blue.

What could this be from?