There's plenty of latitude. I can tell simply by eyeballing, but folks who need numbers can refer to the charts put out by the tire companies.
here's one.
Keep in mind that there's plenty of fudge room beyond the "recommended" range.
Over the last few years there's been plenty of published info about the implications of tires that are either too wide or narrow for the rims. If you have time to kill, you'll find plenty of reading search "bicycle tire width vs. rim width".