It depends on your keyboard layout, but for opening the console the answer is nearly always the same key.
On US layouts the tilde (~) sits to the left of the 1 key. On UK layouts it's found next to Enter. If you're specifically trying to bring up the developer console, though, just press the key to the left of 1 regardless of what's printed on it — that's the position the game binds, and it works whether or not the legend is a tilde.
If nothing happens, the console may need enabling in the game's options first.