It's important to understand there are no 'right' colors.
For instance, this could be 'correct' within an existing interface that is designed in a particular way:
- ERROR: yellow/black;
- INFO: grey;
- SUCCESS: blue;
- NOT IMPORTANT INFO: beige
So this kind of question makes designers wince:
"Have I got the blue and yellow around
the wrong way? Any hex values that are
a de facto standard for these?"
At a basic level, within an existing design structure that is all blue, another panel that pops up in blue will be easily missed. If you are producing something within a brand color scheme and then force a 'correct' hierarchy of colors without consulting a designer, you won't be popular.
But UI design is far more complex than this. For instance, if a red message pops up every time you load a page, you'll start to ignore red messages because of their frequency.
It wouldn't hurt to read something entry-level like Don't Make me Think - http://www.amazon.co.uk/Dont-Make-Think-Usability-Circle-Com/dp/0789723107, even if you're not really going to be doing this kind of decision-making often because it will help you understand the people who do.