For the console version, the cheat code to unlock the dark costume in Batman: The Brave and the Bold is 2G974GWI1296F (enter it in all caps).
As the asker noted, though, the DS version is a problem—it only accepts numbers, so this particular code won't work there.