In this present work, four novel molecules (BPN, BPNS, BPS, and BPSN), possessing excited-state intramolecular proton transfer (ESIPT) characteristics, were designed to quantify the impacts of substituent effects on their photophysical properties. By exploring the primary geometrical parameters concerning hydrogen bonds, it should be noticed that the intramolecular hydrogen bonds (IHBs) of the studied molecules have been strengthened at S1 state. Infrared vibrational spectra analysis illustrates that adding electron-donating group thiophene to the proton donor side can weaken the IHBs in comparison to the electron-withdrawing group pyridine. Through investigating the absorption and fluorescence spectra, it can be clearly found that the maximum absorption peaks of the studied molecules are all located in the UVA region, and their regions of fluorescence peaks are harmless to human skin. Furthermore, considering the light intensity factor, it can be concluded that BPNS is the most potential to be used as UV absorbers in the studied molecules. This work investigates the effects of the positions and types of substituent groups on photophysical properties of 2-(2′-hydroxyphenyl) benzazoles derivatives, which can help design and exploit novel UV absorbers.