Second position triad, lowering the fifth (which is on the bottom), what would this be called and why? and what would i then call it if i raised the third (which is on top)

so i play bass and i found this pretty cool chord which is basically what i explained, a B major triad, second position, and what i said in the title. i made a riff out of it and simply want to know what the chords are called.