Exactly, and blue as the choice of police uniforms goes back to the English constabulary system in the early 1800s, which chose is specifically to avoid any confusion with red of their military. US police forces didn't start to formalize uniforms until the 1850s, following the British style, and then further relying on blue in the coming decades from Civil War uniform surplus.