The phrase uses a metaphor—a direct comparison without "like" or "as."
Simile would be: "You look like you're feeling blue" or "You look as blue as a stormy sky." The original asserts the quality directly.
"Blue" as sadness dates to 14th-century English ("blue devils" = melancholy). The metaphor is so conventionalized it's nearly lexicalized—but structurally, it remains metaphor.