American Idol judge Jennifer Lopez is set to star in the new cop drama Shades of Blue.

The 44-year-old singer and actress will feature in a 13 episode series of the new NBC show which is slated to begin production at the start of 2015.

The project will be produced by Jennifer Lopez and her American Idol co-star Ryan Seacrest.

Speaking about the script to NBC, Seacrest said, "The script is so powerful and ambitious - we can't wait to see Jennifer take on this remarkable role."

NBC Entertainment President Jennifer Salke, added, "Whether its producing, acting, singing or any of her other many entrepreneurial activities, Jennifer is an extraordinary talent and life force, and we're delighted to be in business with her and Adi Hasak on this sophisticated show".

Shades of Blue centres on Harlee McCord (Lopez) who is a single mom turned dirty cop. Eventually she is recruited by the FBI's anti-corruption task force to work undercover with them in order to redeem herself.