Cobalt is a very intense glass colorant and very little is required to show a noticeable amount of color. Cobalt blue glass is also used as an optical filter in flame tests to filter out the yellow flame caused by contamination with sodium, and expand the ability to see violet and blue hues, (colors).