Three-dimensional optical tomographic imaging plays an important role in biomedical research and clinical applications. We introduce spectral tomographic imaging (STI) via spectral encoding of spatial frequency principle that not only has the capability for visualizing the three-dimensional object at sub-micron resolution but also providing spatially-resolved quantitative characterization of its structure with nanoscale accuracy for any volume of interest within the object. The theoretical basis and the proof-of-concept numerical simulations are presented to demonstrate the feasibility of spectral tomographic imaging.