Ideal depends on what you are keeping in your tank. The Baensch Marine Guide is excellent and will list the pH, hardness and specific gravity ranges for the native habitat of your specimens. Absent any other data however, 1.025 is a safe number for just about anything.
To your query about natural ocean water, it varies a lot depending on where it is measured, estuaries such as the mangroves in the Florida Everglades have lower salinity, while inland seas like the Red Sea are higher, while inland salt containing lakes like the Great Salt Lake in Utah are even higher still.