Blue refers to Federal service and gray to Confederate. Joined they represent the unification of the country after the Civil War.
Blue and gray are used to represent the Federal and Confederate sides during the Civil War, respectively. Their combination signifies the reunification of the country following the war.