Off-shell currents and color-kinematics duality