Green’s Dictionary of Slang

blue n.2

[blue adj.3 ]

1. obscene language.

[UK]Sportsman (London) 11 Nov. 2/1: Notes on News [...] [T]he New York Democrat [...] for indelicate allusion and gross language [...] appears to bo in the van of New York journalism. Yet there appears to be a thread of humour, as well as a thread of blue, pervading the columns.
[US]Codella and Bennett Alphaville (2011) 48: I’ve heard her curse out guys on the street in two languages worth of blue.

2. an obscene or libidinous anecdote; a piece of pornography; the quality of obscenity or smuttiness.

[UK]E.J. Milliken Childe Chappie’s Pilgrimage 47: All have their hobbies – Music-Halls were thine, / Childe Chappie; halls of ‘blue,’ and brazen glee.
[UK]Barrère & Leland Dict. of Sl., Jargon and Cant.
[UK]Mirror of Life 3 Aug. 15/1: Mrs. [Anne] Humby was once the subject of a jeu d’esprit, the blue of which was hardly redeemed by the wit. [...] ‘Oh, Mrs. Humby, Mrs. Humby, / If your skin is so fair / That’s exposed to the air. / What a delicate white must your b—m be.
[US]Randolph & Legman Ozark Folksongs and Folklore I 48: The authentic 1830s version is still alive in Scotland, as ‘Ye Ken Pretty Well What I Mean,’ and is sung [...] by Arthur Argo on his record A Wee Thread o’ Blue (1962), ‘blue’ in this context meaning off-color or bawdy.
[US]H. Ellison Introduction in Pulling a Train’ [ebook] Back in 1959 [this book] was lumped with ‘pornography.’ [...] Ten years later it was just silly pseudo- and updated Victorian blue.

3. a pornographic film.

[UK]T. Lewis GBH 28: [T]he merchandise, that being the Blues.