Using first-principles calculations, we have systematically investigated the structural, electronic and magnetic properties of blue phosphorene doped by group IV and VI atoms, including C, Si, Ge, Sn, O, S, Se and Te. All the doped systems are energetically stable. Only C, Si, Ge and O-substituted systems show the characteristics of spin polarization and the magnetic moments are all 1.0 mu(B). Moreover, we found that C, Si, Ge and O doped systems are indirect bandgap semiconductors, while Sn, S, Se and Te doped systems present metallic property. These results show that blue phosphorene can be used prospectively in optoelectronic and spintronic devices.