I mean we're in a future where intergalactic travel is considered trivial, 2Km might even be a little under ranged for something like that, vacuum range could likely be longer but at the same time, you don't want to fire something and have it travel essentially forever.
I've decided to keep the 7.62x24mm round and cut its range down to 550m, this is a weapon designed to be used on ships, it's intentionally supposed to hit something and stop or bounce off a hard surface to prevent damage to the ship interior.