In Death Note, the theme of justice as a gray area is explored through the protagonist, Light Yagami, who believes he is serving justice by using the Death Note to rid the world of criminals. However, as the series progresses, his actions become increasingly morally questionable, blurring the lines between right and wrong. The story challenges viewers to consider whether the ends justify the means and to question the true nature of justice and morality.