How can we think about a universal ethics that could be adopted by any intelligent being, including the rising population of cyborgs, intelligent machines, intelligent algorithms or even potential extraterrestrial life? We generally give value to complex structures, to objects resulting from a long work, to systems with many elements and with many links finely adjusted. These include living beings, books, works of art or scientific theories. Intuitively, we want to keep, multiply, and share such structures, as well as prevent their destruction. Such objects have value not because more information (in bits) would simply mean more value. Instead, they have value because they require a long computational history, numerous interactions for their construction that we can assimilate to a computation, and they display what we call organized complexity. To propose the foundations of a universal ethics based on the intrinsic value of organized complexity, we first discuss conceptions of complexity, and argue that Charles Bennett's logical depth is certainly a first approximation of what we are looking for. We then put forward three fundamental imperatives: to preserve, augment and recursively promote organized complexity. We show a broad range of applications with human, non-human and non-living examples. Finally, we discuss some specific issues of our framework such as the distribution of complexity, of managing copies and erasures, and how our universal ethics tackles classical ethical issues. In sum, we propose a clear, homogenous and consistent ethical foundation that can integrate many universal ethics desiderata.