The cube can be represented as a planar graph and colored with two colors as follows:
Since it would be impossible to color the vertices with a single color, we see that the cube has chromatic number 2 (it is bipartite).