Organic electronic device comprising an anode, a cathode, a photoactive layer and an organic semiconductive layer, wherein the organic semiconductive layer is arranged between the photoactive layer and the cathode, wherein the organic semiconductive layer comprises a compound represented by the following formula: - wherein HAr is a group represented by one of the following formulas (II to IV) wherein the asterisk symbol "*" represents the binding position of the group HAr to the moiety L and; wherein X may be the same or different from each other and are independently selected from O and S; - L is selected from the group consisting of unsubstituted or substituted C 6 to C 24 arylene and unsubstituted or substituted C 3 to C 24 heteroarylene, wherein the one or more substituents, if present, are independently selected from the group consisting of hydrogen, C 6 to C 18 aryl, C 3 to C 25 heteroaryl, D, F, CN, C 1 to C 16 alkyl, C 1 to C 16 alkyl, C 1 to C 16 alkyl, C 1 to C 16 alkoxy, C 1 to C 17 alkoxy, C 1 to C 16 alkoxy, nitrile and -PO(R 3) 2, wherein R 3 are independently selected from C 1 to C 16 alkyl, C 6 to C 18 aryl or C 3 to C 25 heteroaryl; - Ar 1 is selected from the group consisting of C 6 to C 60 arylene, C 3 to C 56 heteroarylene containing at least one heteroatom selected from O, N, S, Si and P, and the following groups represented by the formulas V to VII; and the one or more R 1 and R 2 are independently selected from the group consisting of hydrogen, C 6 to C 18 aryl, C 3 to C 25 heteroaryl, D, F, CN, C 1 to C 16 alkyl, C 1 to C 16 alkyl, C 1 to C 16 alkyl, C 1 to C 16 alkoxy, C 1 to C 16 alkoxy, C 1 to C 16 alkoxy, nitrile and -PO(R 3) 2, wherein the group R 3 is selected from C 1 to C 16 alkyl, C 6 to C 18 aryl and C 3 to C 25 heteroaryl; wherein - m is an integer from 0 to 5; - n is independently an integer from 0 to 4; and wherein if one or more of HAr, Ar 1, L, R 1, R 2 and R 3 and substituent on one or more of HAr, Ar 1, and L is a carbon containing group comprising at least one carbon atom directly connected with at least one hydrogen atom, the hydrogen atoms comprised in the carbon-containing group may be partially or fully replaced by deuterium atoms and/or fluorine atoms. - wherein HAr is a group represented by one of the following formulas (II to IV) wherein the asterisk symbol "*" represents the binding position of the group HAr to the moiety L and; wherein X may be the same or different from each other and are independently selected from O and S; - L is selected from the group consisting of unsubstituted or substituted C 6 to C 24 arylene and unsubstituted or substituted C 3 to C 24 heteroarylene, wherein the one or more substituents, if present, are independently selected from the group consisting of hydrogen, C 6 to C 18 aryl, C 3 to C 25 heteroaryl, D, F, CN, C 1 to C 16 alkyl, C 1 to C 16 alkyl, C 1 to C 16 alkyl, C 1 to C 16 alkoxy, C 1 to C 17 alkoxy, C 1 to C 16 alkoxy, nitrile and -PO(R 3) 2, wherein R 3 are independently selected from C 1 to C 16 alkyl, C 6 to C 18 aryl or C 3 to C 25 heteroaryl; - Ar 1 is selected from the group consisting of C 6 to C 60 arylene, C 3 to C 56 heteroarylene containing at least one heteroatom selected from O, N, S, Si and P, and the following groups represented by the formulas V to VII; and the one or more R 1 and R 2 are independently selected from the group consisting of hydrogen, C 6 to C 18 aryl, C 3 to C 25 heteroaryl, D, F, CN, C 1 to C 16 alkyl, C 1 to C 16 alkyl, C 1 to C 16 alkyl, C 1 to C 16 alkoxy, C 1 to C 16 alkoxy, C 1 to C 16 alkoxy, nitrile and -PO(R 3) 2, wherein the group R 3 is selected from C 1 to C 16 alkyl, C 6 to C 18 aryl and C 3 to C 25 heteroaryl; wherein - m is an integer from 0 to 5; - n is independently an integer from 0 to 4; and