Bootstrap class: .border-primary

<span class="border border-primary">Hello World</span>

Preview

Hello World

More in Bootstrap Borders