This phrase actually comes from the tanning industry. The order of operation was to kill the animal with a bolt gun (screwing it) then to blue the hide (blued) and then to tattoo a quality mark on the hide (tattoo).
If you are screwed, blued, and tattooed, it means that you're fucked.
Screwed Blued and Tattooed
Prices shown in USD.