In a plants "natural" inviorment aka- outdoors, a marijuana plant will grow in the vegetative state during the summer when the sun is producing a more "blue" spectrum and daylight last longer. Once the seasons change and winter starts to roll around the days get shorter and the sun emmits a more "red" spectrum. Once the plant senses this wordly change it begins to flower, so it can reproduce for survival.
So in theory, when we grow indoors we are trying to reproduce the sun. Blue for the vegetative stage and red for flower. The plant will produce more bud under a red spectrum, because it is naturally wired to do so for survival.
However, the sun does not emmit JUST blue, and only red. It is a mixed spectrum. So the ideal lighting is a mixed spectrum like the sun. So for vegetative stage I normally use, for example, 4 blue t5 4' blue bulbs and 2 red bulbs. And during flower I'll switch to 4 red and 2 blue. It's been said that blue helps with thrichome production and red helps with the density of the bud.