I have a web page with a blue/violet background and a simple table with a white background and currently a blue hover color. This is demonstrated in this fiddle. Note that I put the example in jsfiddle because it was an easy place to show the HTML for others but I am not looking for a javascript solution. It's just for example purposes.
I would like to find a complementary color for the hover. Is there a formula or a way that I can do this mathemetically? Note that I don't want to set it at run time I would just like to find out if there's a way I can find a good color that would match so I can use this at design time.
Here are the details:
Background body color: #162252
Table header color: #e3e3e3
Table background color: #FFFFFF
Hover row color: #0081c2 << This color currently does not match /
look good so I would like to find out
how I can calculate something that
matches.