I'm not very good with the gallon of tanks with all cichlid it the floor area which is important not the volume. I'm guessing your tank is about 18" long by 12" wide if this is the case a pair of most dwarfs should be okay.
However i would not sujest getting Rams they are not an easy fish to...