The two values are the peculiar velocity of the local group relative to the Cosmic microwave background
The Local Group — the galaxy group that includes our own Milky Way galaxy — appears to be moving at 627±22 km/s [390±14 mps ] in the direction of galactic longitude ℓ = 276°±3°, b = 30°±3°
Or the peculiar velocity of the solar system relative to the CMB:
The Sun appears to be moving at 368±2 km/s relative to the reference frame of the CMB (also called the CMB rest frame, or the frame of reference in which there is no motion through the CMB).
(wikipeida citing Scott and Smoot)
The values are different because the sun is also moving in an orbit in the Milky Way, and the Milky way itself has a peculiar motion relative to the centre of mass of the local group.
It is just a coincidence that the value in km/s of the latter is close to to the value in mps of the former.