Level 30 is the last one. There are thirty stages in B-Cubed, and the game ends there.
It is worth knowing that the final stage is not a normal puzzle — it is intentionally impossible, which makes the game's ending a joke at the player's expense. So "finishing" B-Cubed really means solving twenty-nine levels and then accepting the punchline.
That structure is part of why the game is remembered fondly. A short, sharp puzzle game that refuses to give you a victory screen is more memorable than one that does.