Good question. You would think it should be "an" uniform because "u" is a vowel. However, this is one of those exceptions where "a" is used because the "u" has (phonetically) consonantal properties.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.