Bootstrap class: .bg-body

    <div class="bg-body border p-3 d-inline-block">
        It has a background color like the body tag
    </div>

Preview

It has a background color like the body tag

Tips 💡

More in Bootstrap Colors