To swear black is white. To persist in an obvious untruth. The French locution, Si vous lui dites blanc, il répondra noir, means, He will contradict what you say point blank.
Source: Dictionary of Phrase and Fable, E. Cobham Brewer, 1894
More on Black White from Fact Monster: