Using Classic Outlook on Windows for personal email, calendar, and contact management
I eventually figured it out by adding <!--[if mso]> with mso styles.
This table with dark blue background with white text style keeps the same colors in dark and light mode.
<style>
.header { background: #121827;background-color: #121827;}.title {font-family: "SegoeUI-Light", "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;color: #FFFFFF;padding: 0;margin: 0; }
<!--[if mso]> <style>.headermso {background: #121827;background-color: #121827; }
.titlemso { font-family: "SegoeUI-Light", "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;color: #FFFFFF;padding: 0;margin: 0;} </style> <![endif]-->
<table width="670px"> <tr class="header"><td class="title">Hello world </td>
</tr>
</table>