Registration Statement No. 333-275898Filed Pursuant to Rule 424(b)(2) The information in this preliminary pricing supplement is not complete and may be changed. Preliminary Pricing Supplement Enhanced Return Barrier NotesLinked to the Solactive Equal Weight U.S. Semi Subject to Completion: Dated June 3, 2026 Pricing Supplement dated June __, 2026 to the Prospectusdated December 20, 2023, the Prospectus Supplementdated December 20, 2023, the Index Supplement SOL-1dated June 6, 2024 and the Product Supplement No. 1B Royal Bank of Canada Royal Bank of Canada is offering Enhanced Return Barrier Notes (the “Notes”) linked to the performance of the SolactiveEqual Weight U.S. Semi Conductor Select AR Index (the “Underlier”). Enhanced Return Potential— If the Final Underlier Value is greater than the Initial Underlier Value, at maturity,investors will receive a return equal to 102.50% of the Underlier Return.Contingent Return of Principal at Maturity— If the Final Underlier Value is less than or equal to the Initial Underlier Value, but is greater than or equal to the Barrier Value (70% of the Initial Underlier Value), at maturity,investors will receive the principal amount of their Notes. If the Final Underlier Value is less than the Barrier Value,at maturity, investors will lose 1% of the principal amount of their Notes for each 1% that the Final Underlier Valueis less than the Initial Underlier Value.The Notes do not pay interest.Any payments on the Notes are subject to our credit risk.The Notes will not be listed on any securities exchange.CUSIP:78017U6A3 Investing in the Notes involves a number of risks. See “Selected Risk Considerations” beginning on page P-6 of this pricing supplement and “Risk Factors” in the accompanying prospectus, prospectus supplement, indexsupplement and product supplement. None of the Securities and Exchange Commission (the “SEC”), any state securities commission or any other regulatorybody has approved or disapproved of the Notes or passed upon the adequacy or accuracy of this pricing supplement. Anyrepresentation to the contrary is a criminal offense. The Notes will not constitute deposits insured by the Canada DepositInsurance Corporation, the U.S. Federal Deposit Insurance Corporation or any other Canadian or U.S. governmental Proceeds to Royal Bank of Canada(1) We or one of our affiliates may pay varying selling concessions of up to $36.25 per $1,000 principal amount of Notes in connection with the distribution of the Notes to other registered broker-dealers. Certain dealers who purchase the Notesfor sale to certain fee-based advisory accounts may forgo some or all of their underwriting discount or selling concessions.The public offering price for investors purchasing the Notes in these accounts may be between $963.75 and $1,000.00 per$1,000 principal amount of Notes. In addition, we or one of our affiliates may pay a broker-dealer that is not affiliated with The initial estimated value of the Notes determined by us as of the Trade Date, which we refer to as the initial estimatedvalue, is expected to be between $890.00 and $940.00 per $1,000 principal amount of Notes and will be less than thepublic offering price of the Notes. The final pricing supplement relating to the Notes will set forth the initial estimated value.The market value of the Notes at any time will reflect many factors, cannot be predicted with accuracy and may be lessthan this amount. We describe the determination of the initial estimated value in more detail below. Enhanced Return Barrier Notes Linkedto the Solactive Equal Weight U.S. Semi KEY TERMS The information in this “Key Terms” section is qualified by any more detailed information set forth in this pricingsupplement and in the accompanying prospectus, prospectus supplement, index supplement and product supplement. Issuer:Underwriter: Royal Bank of Canada RBC Capital Markets, LLC (“RBCCM”) Minimum Investment:$1,000 and minimum denominations of $1,000 in excess thereof The Solactive Equal Weight U.S. Semi Conductor Select AR Index. The Underlier reflects thededuction of an adjustment factor of 2.0% per annum (the “Adjustment Factor”), calculated dailyand deducted on each index calculation day. Trade Date:Issue Date:Valuation Date:* If the Final Underlier Value is less than the Barrier Value, you will lose a substantial portion or allof your principal amount at maturity. All payments on the Notes are subject to our credit risk. Participation Rate:Underlier Return: * Subject to postponement. See “General Terms of the Notes—Postponement of a Determination Date” and “GeneralTerms of the Notes—Postponement of a Payment Date” in the accompanying product supplement. Enhanced Return Barrier Notes Linkedto the Solactive Equal Weight U.S. Semi ADDITIONAL TERMS OF YOUR NOTES You should read this pricing supplement together with the prospectus dated December 20, 2023, as supplemented by theprospectus supplement dated December 20, 2023,