The nuclear force has a strong repulsive core that tends to keeps nucleons a constant distance apart. See http://webs.mn.catholic.edu.au/physics/emery/hsc_quanta_quarks.htmfor an illustration. Quoting:
The main properties of the strong nuclear force are:
At typical nucleon separation (1.3 x 10-15m) it is a very strong attractive force (104 N).
At much smaller separations between nucleons the force is very powerfully repulsive.
Beyond about 1.3 x 10-15m separation, the force quickly dies off to zero. Thus, the strong nuclear force is a very short-range force.
The much smaller Coulomb force between protons has a much larger range and becomes the only significant force between protons when their separation exceeds about 2.5 x 10-15m.
The strong nuclear force is not connected with charge. Proton-proton, proton-neutron and neutron-neutron forces are the same. (The force between protons, however, must always be modified by the Coulomb repulsion between them.)