How to effectively utilize renewable energy and improve the economic efficiency of microgrid system and its ability to consume renewable energy has become one of the main problems facing China at present. In response to this challenge, this paper establishes a multiobjective capacity optimization model with the minimum levelized cost of energy, the maximum proportion of renewable energy consumption, and the minimum comprehensive system cost. Based on this model, a new improved beluga whale optimization algorithm is proposed to solve the multiobjective optimization problem in the capacity allocation process of wind–solar–storage microgrid system with the goal of ensuring that the microgrid can meet the maximum load demand at different moments throughout the year. In this paper, opposition‐based learning, artificial bee colony, dynamic opposite, and beluga whale optimization are combined to improve the population diversity and convergence accuracy, thereby enhancing the optimization performance of the algorithm. Finally, after finding the optimal Pareto front solution, the Technique for Order Preference by Similarity to an Ideal Solution is used to help decision‐makers select the optimal solution. Using real load data and meteorological data, the results of this paper show that the multiobjective capacity allocation optimization method of grid‐connected scenic storage microgrid system based on the improved beluga whale optimization algorithm can improve the economics of the wind–solar–storage microgrid system and promote the photovoltaic consumption simultaneously, providing a solution for the realization of low‐carbon power and regional economic development. The best‐found levelized cost of energy for the wind–solar–storage microgrid system is 0.192 yuan/kWh.