A boat sailed by a good sailor is often best for any cruising application. It can be any make / model as long as this specific make / model matches the chosen area and mode of cruising.
A safe boat is fine. If a boat is safe, then it is also desirable that the boat can carry some amount of cruising stuff - water
, belongings, etc. - all this adds considerable weight.
If any upwind work is expected then some relatively narrow, relatively heavily ballasted boats with fine foils tend to point and sail upwind better than beamy, long-keeled and low-powered (small sail area) ones. Otherwise, a cat is great form most applications - light and comfy downwind. But only a good cat will sail upwind well.
Boats for higher latitudes will often be built stronger and in materials like steel
or alloy. They will also offer more protection to the driver (which may be in the form of center cockpit
, doghouse, etc.).
If your target cruising area includes extensive offshore
work it is safer to stick with boats built for that application. The choice of boats for coastal and inshore cruising is much wider.
If you give more info on what you understand by ocean travel, you will probably get more to the point answers.