Starfleet uniform (Earth)

The uniforms worn by Earth Starfleet personnel became the template for all future incarnations of Federation Starfleet uniform.

The uniform design was in use as early as 2143 and lasted past 2161 with little variation.

Duty uniform
The standard duty uniform consisted of a dark blue jumpsuit, with piping around the shoulder denoting division, coded by color. The division colors were as follows:
 * gold — command division
 * red — operations division
 * blue — sciences division
 * gold and white — command admiralty
 * red and white — operations admiralty
 * blue and white — sciences admiralty

The right breast carried rank insignia in the form of rectangular, metal pips. An assignment patch based on the wearer's posting was located on the left shoulder. The jumpsuit sealed at the front and featured breast, arm, waist and leg pockets. It was normally worn over a black button-down shirt.

2161 alterations
By 2161, a few minor changes had been made. On the left arm, the uniform had the ship's emblem and the Starfleet emblem on the right arm. The uniform also had the individual's name embroidered on the left breast of the jumpsuit, as well as epaulets on either shoulder.

Service uniform
The service uniform jacket, worn over a white collared shirt with a necktie, was a darker shade of blue than the duty jumpsuit. Rank insignia were worn above the division color piping on the chest, and also shown in sleeve stripes. A variation of this uniform included a skirt which was worn by some female officers at Starfleet Command.

Dress uniform
Dress uniforms were worn for diplomatic functions. The dress uniform was a similar color as the duty jumpsuit, but had rank stripes on the sleeves as the service jacket. The uniform top was worn over a shirt with a white mandarin collar.

Excursion uniform
Specialty attire was issued for planetary missions. These uniforms were all beige in color, with rank insignia attached at the collar and the ship's mission patch on the left shoulder.

Sunglasses
Also usually used with the Excursion uniform (usually in desert climates) were Starfleet-issue sunglasses.

In 2154, Captain Archer offered T'Pol his sunglasses just before walking through the Forge, where the reflection off the sand was blinding. T'Pol reminded him that she didn't need them because of her inner-eyelid, and that her species "evolved on this planet."

Excursion jackets
Excursion jackets were issued, in a variety of colors and materials but maintaining the division color stripes and uniform patches. Some, but not all, of the jackets featured rank insignia. In later years, the jacket would bear a nametag on the left breast above the division color piping.
 * Excursion jackets
 * Quilted version (worn on 2151 mission to Rigel X)
 * Worn with nametag (worn on 2161 mission to Rigel X)
 * Worn with nametag (worn on 2161 mission to Rigel X)

Activity uniform
The activity uniform tunic was worn by servicepeople while working out, playing sports, or other leisure activities. It did not feature rank insignia.

Hats
The duty uniform cap was of a design of hat known in Earth history as a "baseball cap", and featured an embroidered registry of a serviceperson's home assignment.
 * Duty uniform cap

The service uniform worn at Starfleet Command also featured a white hat that could be seen on personnel walking around outside of buildings.
 * Service uniform hat

T'Pol's variant
After receiving a Starfleet commission in 2154, Commander T'Pol adapted one of her Vulcan garbs as her uniform. She added her rank pips and her assignment patch. By 2161, she added a nametag and the Starfleet emblem to her uniform.

From Memory Alpha -- the free Star Trek reference

Gallery
Uniforms shown are, in order, standard uniforms (male/female), officer service dress uniform (male/female/female variant), flag officer service dress uniform (male/female/female variant).