The chemical reactions of cobalt with the elements:

When cobalt is heated, it reacts with halogens and other nonmetals. Examples of these nonmetals are boron, carbon, phosphorus, arsenic, antimony, and sulfur. In its compound, cobalt shows all oxidation states from I- IV. The most common of these states being II and III. The highest oxidation level, IV is found in cesium hexafluorocobaltate and very few other compounds.  

Reaction of cobalt with air and water- In general cobalt doesn’t react with air until it is heated and the oxide Co3O4 is created. When cobalt is heated above 900°C, cobalt(II) oxide, CoO is formed. Once again, water has little effect on cobalt until the metal is heated and steam creates CoO.
3Co(s) + 4O2(g) --> 2Co3O4(s)
2Co(s) + O2(g) --> 2CoO(s)

Reaction of cobalt with the halogens- Cobalt(II) bromide, CoBr2 is created when cobalt metal and bromine react with one another, the final reaction gives off a green color. Corresponding chloride and iodide can also be produced in the same way with the final reaction of the chloride being blue, and iodide black.
Co(s) + Br2(l) --> CoBr2(s)
Co(s) + Cl2(g)--> CoCl2(s)
Co(s) + I2(s) --->CoI2(s)

Reaction of cobalt with acids- When cobalt is introduced to sulphuric acid, the metal will slowly dissolve.
Co(s) + H2SO4(aq) --> Co2+(aq) + SO42-(aq) + H2(g)