Level 256 — and it is one of the most famous glitches in arcade history.
Both Pac-Man and Ms. Pac-Man run out of usable memory at that point. The maze is drawn from a 256-value counter, and the extra byte overflows into the fruit-drawing routine, so the right-hand half of the screen fills with garbled symbols and numbers. This is the "kill screen": there is no way to complete the level, and the game either ends or loops depending on the version.
On the original hardware, if you clear level 255 and continue, the ghosts stop turning blue on the following boards because the level counter has nowhere left to go. Enthusiasts have documented the pattern extensively, and it remains a favourite target for score-chasing and emulation experiments.