Optical polymers cover only a rather narrow range of optical properties. This is a limiting factor for the design of polymer-based optical systems such as smartphone cameras. Moreover, it also poses a problem for femtosecond two-photon lithography, which is a state-of-the-art technology to 3D print high-quality optics from photopolymers. To overcome the limitations of conventional polymers, we introduce nano-inks based on the commonly used photopolymers IP-DIP and IP-S as polymer matrix and zirconium dioxide (ZrO2) nanoparticles. We show that the refractive index and dispersion of these nano-inks can be purposefully tailored by varying the constituent materials and the volume fraction of the nanoparticles. Furthermore, we demonstrate the suitability of our nano-inks for optical applications by 3D printing single micro-lenses and a multi-material achromatic Fraunhofer doublet. Our findings confirm that nanocomposites expand the range of optical properties that are accessible for polymer-based systems and allow for the design of tailored optical materials.