The B blues scale has 6 notes: B – D – E – F – F♯ – A. The blues scale is the minor pentatonic plus one note, the ♭5 or “blue note”. That note is a passing tone: slide or bend through it and the line sounds instantly bluesy. It works over all three chords of a 12-bar blues.
Compared with the B major scale it has ♭3 (D instead of D♯), ♭5 (F instead of F♯), ♭7 (A instead of A♯).
The explorer above is set to B blues: the whole neck is mapped, and you can zoom into any of its 6 positions, change the labels to degrees or fingers, and hear it up, down and in patterns.