Green’s Dictionary of Slang

what the fuck...? phr.

also what the blue fuck…?
[fuck, the phr.]

1. [1940s+] (orig. US) a phr. used to indicate one’s incomprehension.

2. in attrib. use of sense 1.