A photosensitive composition, suitable for a hardened film capable of sufficiently blocking light in the visible range and sufficiently transmitting light in the near infrared region, is provided. The photosensitive composition contains a colorant, a compound having an ethylenic unsaturated group, a photopolymerization initiator and a solvent. The colorant contains (A1) to (A3); (A1) a colorant of the following formula (1): (A2) a blue colorant, a green colorant, or both, and (A3) a yellow colorant, a red colorant, or both. R1 and R2 is a hydrogen atom, a hydroxyl group, a methoxy group or an acetyl group. R3 and R4 is a phenylene group or a direct bond. R5 and R6 is a direct bond or an alkanediyl group having 1 to 10 carbon atoms, with the proviso that R3 and R5 are not simultaneously direct bonds, and R4 and R6 are not simultaneously direct bonds.