To provide an optical sensor, an electronic apparatus, etc. that suppress reduction of spectroscopic characteristics. The optical sensor includes a light receiving element, an optical filter 140 that transmits a light having a specific wavelength of incident lights with respect to a light receiving region of the light receiving element, and an angle limiting filter 120 that limits an incident angle of the incident light transmitted through the optical filter 140.