You must identify the blocks that make up your widget, most of the time block-container, block-header or block-minor-Header then block-row associated or not with block-row--minor and finally there may be a block- footer... Identify them with your browser's developer tools.
But for changing the background, generally block-container is enough (sometimes block-footer too):