The fact that Luna is a Ravenclaw and Hermione is a Gryffindor is super important to me.
Like Hermione could easily have been a Ravenclaw if we just went by her passion for knowing things. But simply knowing things isn’t all intelligence is. Intelligence doesn’t necessarily have anything to do with how “book smart” someone is. You have to be willing to look outside the box and use what you know in a useful way. That’s the creative, wise, open-minded aspect of Ravenclaw that seems to get overlooked.
And the one thing that I think got in Hermione’s way was her fear of failure. A fear of being wrong. And being wrong is part of the learning experience and it’s not something that I feel a Ravenclaw would be afraid of but instead they’d expect it and welcome whatever revelations came from it. A Gryffindor can’t afford to be wrong because if they are going to do something brave and daring then failure could have terrible consequences.
Luna on the other hand is someone who might not be very good academically at all. We don’t know for sure. But her way of looking at the world is so unique and seemingly impossible. She’s creative and open to new ideas and accepting of other people’s differences which is the ideal attitude to have for learning. When she answered the question to get into Ravenclaw tower, the knocker did not say she was right or wrong, rather it said “well reasoned” which suggests that maybe there doesn’t have to be one definite correct answer because HOW she came to her conclusion is what mattered. How often do you think her professors gave her correct marks on essays and things because she wasn’t “technically” wrong? How would they have made it to the Department of Mysteries in OOTP if she hadn’t suggested they fly on Thestrals when half of the group couldn’t even see them? Her ability to see what others couldn’t is how they solved that particular problem and that’s part of what Ravenclaw is all about.
Ravenclaws don’t necessarily do something simply because it’s logical, but they use logic to do something better than everyone else. That’s the difference between Hermione and Luna to me.