The invention belongs to the field of OLED technology and provides a boron heterocyclic compound, which has the structure shown in chemical formula I, wherein X 1 and x 2 each independently selected from a single bond, ‑(R 1 )C(R 2 ) 2 ,-NR 2 、BR 3 , O atom, S atom; R 1 , R 2 and R 3 Mainly each independently selected from any one of aryl, heteroaryl, fused aryl, fused heteroaryl; D 1 and D 2 Each independently selected from hydrogen atom C12-C40 carbazolyl and its derivatives, C12-C40 diphenylamino and its derivatives, C13-C40 acridinyl and its derivatives; D 1 and D 2 respectively connected to the benzene ring of the structure shown in chemical formula I, and D 1 and D 2 are not hydrogen atoms at the same time. The boron heterocycle compound provided by the invention contains a donor-acceptor structure, has suitable HOMO and LUMO values and a small ΔEst, and can bring about high brightness, low voltage, high efficiency and longer service life. The invention also provides a display panel and a display device.