Organic electronic device, characterised in that it comprises, in at least one layer, a compound of the following formula: where the symbols and indices used have the following meanings: Ar 2 is on each occurrence, identically or differently, a substituted or unsubstituted monovalent monocyclic or polycyclic aromatic or heteroaromatic ring system; X and Y are equal to CR 1 or N; m is an integer from 1 to 6; with the proviso that either 1.) at least one representative of the X or Y is equal to N, or 2.) one representative of the Ar 2 is a heteroaromatic ring system; and where R 1 is selected on each occurrence, identically or differently, from the group consisting of the following: H, D, halogen, CHO, N(Ar) 2, C(=O)Ar, P(=O)(Ar) 2, S(=O)Ar, S(=O) 2 Ar, CR 2 =CR 2 Ar, CN, NO 2, Si(R 2) 3, B(OR 2) 2, B(R 2) 2, B(N(R 2) 2) 2, OSO 2 R 2, an alkyl, alkoxy or thioalkoxy group, which may in each case be substituted by one or more radicals R 2, where one or more non-adjacent CH 2 groups may be replaced by R 2 C=CR 2, C≡C, Si(R 2) 2, Ge(R 2) 2, Sn(R 2) 2, C=O, C=S, C=Se, C=NR 2, P(=O)(R 2), SO, SO 2, NR 2, O, S or CONR 2 and where one or more H atoms may be replaced by F, Cl, Br, I, CN or NO 2, or a mono- or polycyclic aromatic or heteroaromatic ring system, which may in each case be substituted by one or more radicals R 2, or an aryloxy or heteroaryloxy group, which may be substituted by one or more radicals R 2, or a combination of these systems; two or more adjacent substituents R 1 may also form a mono- or polycyclic, aliphatic or aromatic ring system with one another; Ar is on each occurrence, identically or differently, an aromatic or heteroaromatic ring system, which may be substituted by one or more radicals R 2; two radicals Ar which are bonded to the same nitrogen, phosphorus or boron atom may also be linked to one another by a single bond or a bridge selected from B(R 2), C(R 2) 2, Si(R 2) 2, C=O, C=NR 2, C=C(R 2) 2, O, S, S=O, SO 2, N(R 2), P(R 2) and P(=O)R 2; R 2 is on each occurrence, identically or differently, H, D or an aliphatic, aromatic and/or heteroaromatic hydrocarbon radical, in which, in addition, H atoms may be replaced by F; two or more adjacent substituents R 2 may also form a mono- or polycyclic, aliphatic or aromatic ring system with one another. Ar 2 is on each occurrence, identically or differently, a substituted or unsubstituted monovalent monocyclic or polycyclic aromatic or heteroaromatic ring system; X and Y are equal to CR 1 or N; m is an integer from 1 to 6; with the proviso that either 1.) at least one representative of the X or Y is equal to N, or 2.) one representative of the Ar 2 is a heteroaromatic ring system; R 1 is selected on each occurrence, identically or differently, from the group consisting of the following: H, D, halogen, CHO, N(Ar) 2, C(=O)Ar, P(=O)(Ar) 2, S(=O)Ar, S(=O) 2 Ar, CR 2 =CR 2 Ar, CN, NO 2, Si(R 2) 3, B(OR 2) 2, B(R 2) 2, B(N(R 2) 2) 2, OSO 2 R 2, an alkyl, alkoxy or thioalkoxy group, which may in each case be substituted by one or more radicals R 2, where one or more non-adjacent CH 2 groups may be replaced by R 2 C=CR 2, C≡C, Si(R 2) 2, Ge(R 2) 2, Sn(R 2) 2, C=O, C=S, C=Se, C=NR 2, P(=O)(R 2), SO, SO 2, NR 2, O, S or CONR 2 and where one or more H atoms may be replaced by F, Cl, Br, I, CN or NO 2, or a mono- or polycyclic aromatic or heteroaromatic ring system, which may in each case be substituted by one or more radicals R 2, or an aryloxy or heteroaryloxy group, which may be substituted by one or more radicals R 2, or a combination of these systems; two or more adjacent substituents R 1 may also form a mono- or polycyclic, aliphatic or aromatic ring system with one another; Ar is on each occurrence, identically or differently, an aromatic or heteroaromatic ring system, which may be substituted by one or more radicals R 2; two radicals Ar which are bonded to the same nitrogen, phosphorus or boron atom may also be linked to one another by a single bond or a bridge selected from B(R 2), C(R 2) 2, Si(R 2) 2, C=O, C=NR 2, C=C(R 2) 2, O, S, S=O, SO 2, N(R 2), P(R 2) and P(=O)R 2; R 2 is on each occurrence, identically or differently, H, D or an aliphatic, aromatic and/or heteroaromatic hydrocarbon radical, in which, in addition, H atoms may be replaced by F; two or more adjacent substituents R 2 may also form a mono- or polycyclic, aliphatic or aromatic ring system with one another.