Digital libraries have become an important tool for searching the scientific literature. The growth of digital libraries is exponential based upon the fact that researchers are utilizing it more and more by the days. To make the search better, the content of digital libraries should be ranked properly. The rank of research paper depends upon many factors like citations to paper; content, authors and publications of the paper etc. Based upon these parameters, different ranking algorithms have been proposed till now. In this paper, a new algorithm C3 ranking is proposed, which considers two important factors i.e. citations to the paper and the relevancy of the content with the query.