Barium chloride is an inorganic compound with the formula BaCl2. It is one of the most common water-soluble salts of barium. Like most other water-soluble barium salts, it is white, highly toxic, and imparts a yellow-green coloration to a flame. It is also hygroscopic, converting first to the dihydrate BaCl2(H2O)2.