The sky being blue has actually nothing to do with the ocean.
when light hits the atmosphere from the sun, light splits and we see it at it's shorter wavelength: blue.
when the sun sets, there is more atmosphere between us and the sun, so we get to see light at a longer wavelength: red
does this interest you?