It's not actually based on CoL... it is based on comparable salaries in the area (which of course is highly correlated with cost of living). The distinction is important, though; they pay the salary that gets a worker to stay and not go to another company that will hire them.