Dear Student,
The selection of recombinants is carried out by insertional inactivation.
Insertional inactivation is the loss of function of a gene such as α-galactosidase gene in plasmid due to insertion of foreign DNA/transgene within it.
Because of the inactivation of the gene α-galactosidase, the non-recombinants (bacterial colonies with cloning vector B) will produce blue-coloured colonies while the recombinants (bacterial colonies with cloning vector A) will produce colourless colonies.
Regards