The blackest black (#000) is not necessarily the best choice of black background because other elements on the page will lose the opportunity to cast shadows.
Consider using a slightly lighter shade of black which will allow the blackest black shadows on elements in the foreground to appear.
An option for such a background black is #0e0e0e.
A good way to remember this color is by recalling an old phrase used by Scottish children when their friend or sibling has done something wrong that will get them into trouble.
“Oh ee, oh ee, ohhh eeeee, chips and macaroni!”