Combinations of colours are bit unusual. Usually have three cables, each with Red and Black i.e. Three Reds and three Blacks. Usual arrangement is Power in (Red/Black) Power out to next ceiling fitting (Red/Black) and Power out to the Switch (Red) and power back from the switch on a BLACK wire which should have a red sleeve on it to indicate that it's switched line (i.e Not a Neutral wire and potentially dangerous)
Normally the three Reds all connect together - The special Black (Switched Line with the Red Sleeve) connects to Flex Brown - and Flex Blue connects to the remaining Black Neutral wires.
Take the switch from the wall and see what colours you have in there - essential you identify the Switched Line that comes back from the switch and connect it ONLY to Flex Brown.
Green will be Earth - important if you have a metal lamp fitting on the ceiling.
TURN OFF POWER WHEN FIDDLING AROUND
o RED - Live in
o RED - Live out
o RED - Live to Switch
o BLACK (with red sleeve) Live back from light switch
o BROWN - Flex of pendant cable
o BLUE - Flex of pendant cable
o BLACK - Neutral
o BLACK - Neutral
Richard Buxton, September 2008