On 26 February 2011, the United Nations Security Council by Resolution 1970 (2011), along with imposing an arms embargo and freezing assets of members associated with the Qaddafi regime, referred the humanitarian crisis of systematic attacks and human rights violations of the Libyan population, to the International Criminal Court.
The reference is justified under Article 16 of the Rome Statute of the ICC where the UNSC can refer a dispute to the Prosecutor. It is surprising that this has been done even though Libya is not a state party to the Rome Statute.(see even the USA). This raises many issues regarding the Jurisdiction and Admissibility of any proceedings against the Libyan Arab Jamahiriya. Also, if Libya will be bound to accept any rulings by the ICC, as the dispute was referred by the UNSC which can make binding declarations.
See the excellent post by War and Law throwing some light on this reference here.