Margination of white blood cells (WBCs) towards vessel walls is an essential precondition for their efficient adhesion to the vascular endothelium. We perform numerical simulations with a two-dimensional blood flow model to investigate the dependence of WBC margination on hydrodynamic interactions of blood cells with the vessel walls, as well as on their collective behavior and deformability. We find WBC margination to be optimal in intermediate ranges of red blood cell (RBC) volume fractions and flow rates, while, beyond these ranges, it is substantially attenuated. RBC aggregation enhances WBC margination, while WBC deformability reduces it. These results are combined in state diagrams, which identify WBC margination for a wide range of flow and cell suspension conditions.