The rules for VMC in Class B airspace are:
Clear of cloud by 1500m horizontally and 1000ft (300m) vertically. Visibility 5km below 10000ft (3050m) and 8km at and above 10000ft (3050m).