1200 x 628 is the recommended image size as it works well for most modern themes. With that said, some themes may require different featured image sizes and you can find this information in the theme documentation.