FAR 91.117 states 10,000' not Class B! Lots of people incorrectly assume that since most Class B's go up to 10,000' that's the reason for the speed limit.
In places like Denver and Atlanta it is common practice to accelerate to above 250 once above 10,000 and still within the Class B.
Here's an excerpt from a legal opinion dated 10/3/1993: "On September 16, 1993, the Airspace Reclassification Final Rule became effective. Under the provisions of this rule, TCA's are reclassified as Class B airspace areas. FAR Sec. 91.117(a) now states, "unless otherwise authorized by the Administrator (or by ATC in the case of operations in Class A or Class B airspace), no person may operate an aircraft below 10,000 feet MSL at an indicated airspeed of more than 250 knots (288 mph)." FAR Sec. 91.117(b) now states, "unless otherwise authorized or required by ATC, no person may operate an aircraft at or below 2,500 feet above the surface within 4 nautical miles the primary airport of a Class C or Class D airport at an indicated airspeed of more than 200 knots (230 mph)." Under this regulatory scheme, it is now clear that the pilot operating in a Class B airspace area at and above 10,000 feet MSL is not subject to a 250 knot speed limitation."