According to Marine Corps uniform regulations...
USMC Uniform Regs, Chapter 8, Section 8001, 3(A)2:
"The utility cap will not be stenciled with the Marine Corps branch of service insignia. Navy officers will wear their black metal cap device and chief petty officers will wear their black miniature cap device at the position on the cap where the Marine Corps emblem is normally stenciled. E6 and below Navy personnel will not wear a cap device."