The problems of designing signature sequences and power allocation policy for code-division multiple access (CDMA) are important and have been the subject of intensive research in recent years. Two different criteria adopted in such design problems are the user capacity and the information-theoretic capacity. Regarding the maximization of the information-theoretic capacity, most of the previous works only consider the optimizations of signature sequences and power allocation separately. In contrast, this paper presents a jointly optimal design of signature sequences and power allocation under the sum power constraint. The proposed design is of closed-form and applicable for the general case of correlated signals and colored noise. Numerical results verify the superiority of the proposed design over the existing ones.