Trypan blue exclusion is a viability assay used to determine the number of viable cells in a cell suspension. It is based on the principle that intact cell membranes are impermeable to certain dyes, such as trypan blue, whereas damaged or dead cells allow the dye to penetrate, thus staining them blue.