Preliminary Pricing SupplementSubject to Completion: Dated May 1, 2026 Capped Return Dual Directional Buffer NotesLinked to the S&P 500®Index,Due June 1, 2028 Pricing Supplement dated May __, 2026 to theProspectus dated December 20, 2023, the ProspectusSupplement dated December 20, 2023, the UnderlyingSupplement No. 1A dated May 16, 2024 and the ProductSupplement No. 1B dated July 22, 2025 Royal Bank of Canada Royal Bank of Canada is offering Capped Return Dual Directional Buffer Notes (the “Notes”) linked to the performance ofthe S&P 500®Index (the “Underlier”).Capped Return Potential— If the Final Underlier Value is greater than the Initial Underlier Value, at maturity, investors will receive a return equal to 100% of the Underlier Return, subject to the Maximum Upside Return of18.75%.Absolute Value Return— If the Final Underlier Value is less than or equal to the Initial Underlier Value, but isgreater than or equal to the Buffer Value (90% of the Initial Underlier Value), at maturity, investors will receive aone-for-one positive return equal to the absolute value of the Underlier Return.Principal at Risk— If the Final Underlier Value is less than the Buffer Value, at maturity, investors will lose 1% ofthe principal amount of their Notes for each 1% that the Final Underlier Value is less than the Initial UnderlierValue in excess of the Buffer Percentage of 10%.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:78017UXL9 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 andproduct supplement.None of the Securities and Exchange Commission (the “SEC”), any state securities commission or any other regulatory body 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. governmentalagency or instrumentality. The Notes are not bail-inable notes and are not subject to conversion into our common sharesunder subsection 39.2(2.3) of the Canada Deposit Insurance Corporation Act.Per NoteTotal Price to public(1) Underwriting discounts and commissions(1)Proceeds to Royal Bank of Canada(1) We or one of our affiliates may pay varying selling concessions of up to $22.50 per $1,000 principal amount of Notes inconnection 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 $977.50 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 withus a referral fee of up to $8.00 per $1,000 principal amount of Notes. See “Supplemental Plan of Distribution (Conflicts ofInterest)” below.The initial estimated value of the Notes determined by us as of the Trade Date, which we refer to as the initial estimated value, is expected to be between $916.40 and $966.40 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. KEY TERMS The information in this “Key Terms” section is qualified by any more detailed information set forth in this pricingsupplementand in the accompanying prospectus,prospectus supplement,underlying supplement and productsupplement. Issuer:Underwriter:Minimum Investment:$1,000 and minimum denominations of $1,000 in excess thereofUnderlier: RBC Capital Markets, LLC (“RBCCM”) SPX(1)The closing value of the Underlier on the Trade Date(2)90% of the Initial Underlier Value (rounded to two decimal places)Trade Date:May 26, 2026Issue Date:May 29, 2026Valuation Date:*May 26, 2028Maturity Date:*June 1, 2028Payment at Maturity:Investors will receive on the Maturity Date per $1,000 principal amount of Notes:If the Final Underlier Value isgreater thanthe Initial Underlier Value, an amount equalto:$1,000 + ($1,000 × the lesser of (a) Underlier Return × Participation Rate and (b) MaximumUpside Return)If the Final Underlier Value isless than or equal tothe Initial Underlier Value, but isgreater than or equal tothe Buffer Value, an amount equal to:$1,000 + (-1 × $1,000 × Underlier Return)