I have never kept rams, so I dont know if barbs and rams would be ok together. The barbs tend to pick on little fish if they arent in a decent sized school.
my barbs are pretty old and it up to 2.5 inches maybe more. i dont have my barbs with my blue rams but i dont know if they would work with each other, id assume so. get golden barbs those are neat!