My first response was 'naval uniform' as well, but the cap device is indicative of the U.S. Revenue Cutter Service. If the USRCS followed contemporary Navy uniform regs-- likely, but I'm not certain-- the buttons on the sleeve cuffs would make the gent a junior officer or perhaps a warrant officer.