When lenses are designed, one of the important parameters is the spectrum for which the lenses are to be used.
Most lenses on the market are “corrected” (read : “designed”) for the visible range of the light, the part that humans can see. These are wavelengths between about 420nm and 720nm, deep violett to deep red colors.
Lenses are called IR corrected, if they are designed for near Infrared light (NIR .. roughly 800 to 1100nm), so you _could_ use them if your Illumination contains these wavelengths.
If lenses are not IR corrected, they will typically have a so called Focus Shift (or “longitudinal color aberration”) , say the focal length of an IR image is different from the focal length of the color image, thus either the color image or the IR image is focussed, but in general not both.
Lenses that _are_ IR corrected usually have a special antireflection coating , suited for the infrared spectrum.
One thing you have to take into account however is the quantumefficiency of your sensor, say, how well it can receive NIR light. Often sensor can receive light in this range of wavelengths one one third as good as they do for the visible range, say the brightness of the image is just 1/3 .. and lower. Ask your supplier about sensors dedicated for IR light.
If a lens is designed for VIS (= visible light) and also for NIR, you have to keep in mind that you in general can NOT get a nice color image _and_ a nice NIR image at the same time.
This is because color pixels let various NIR wavelengths pass say, the nice color images are overlayed with IR light.
According to the Rayleigh criterionlight of, say, 850nm wavelength can achieve only half the resolution of a lens optized for half the wavelength (425nm)
This means, even a cristal clear color image is overlayed by a slightly blurred IR image.
Say, if you _can_ choose, go for Visible light, not for NIR light.
If you need IR light AND Visible light at the same time, for example door cameras have this challenge, then go for a special filter that lets VIS pass plus a small IR range, for example 940 +/- 20nm