Try rubbing a walnut on it, the "meat" of the nut.
Very light sanding (fine grit, by hand), then do the walnut thing, or the same wood color of a crayon. Damp cloth & iron it in to blend. Then, do the floor oil thing & buff.
I use Halloway House Quick Shine for High Traffic on my floors to hide the minor scratches and it makes our 100-year-old floors look brand new https://www.walmart.com/ip/Quick-Shine-High-Traffic-Hardwood-Floor-Luster-27-fl-oz/38293759
Find the color of your stain. Buy a small can of minwax and use a cotton swab to touch up the scratch. Before it dries, buff with a soft cloth to blend in with the rest of your floor.