Proximal concordance makes sense here, although grammatical concordance is correct grammatically. " When something floats "in the ocean" it is partially (or mostly) submerged. When something floats "on the ocean", there is not very much of it below the water's surface.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.