Blender

Changing the 3D View background color

File, User Preferences, Themes, 3D View, Themes Background Color. Edit the "Gradient High/Off" color. To change the color of the grid, in the same Themes tab, edit the "Grid" color located in the Theme 3D View section.