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 SupplementSubject to Completion: Dated June 24, 2026 Capped Enhanced Return Buffer NotesLinked to the S&P 500®Index,Due January 4, 2028Royal Bank of Canada Pricing Supplement dated June __, 2026 to the Prospectusdated December 20, 2023, the Prospectus Supplementdated December 20, 2023, the Underlying Supplement No.1A dated May 16, 2024 and the Product Supplement No. Royal Bank of Canada is offering Capped Enhanced Return Buffer Notes (the “Notes”) linked to the performance of theS&P 500® Index (the “Underlier”).Capped Enhanced Return Potential— If the Final Underlier Value is greater than the Initial Underlier Value, at maturity, investors will receive a return equal to 150% of the Underlier Return, subject to the Maximum Return ofat least 11% (to be determined on the Trade Date). Contingent Return of Principal at Maturity— If the Final Underlier Value is less than or equal to the InitialUnderlier Value, but is greater than or equal to the Buffer Value (80% 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 Buffer Value,at maturity, investors will lose 1% of the principal amount of their Notes for each 1% that the Final Underlier Value Any payments on the Notes are subject to our credit risk.The Notes will not be listed on any securities exchange. CUSIP:78017UF88 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 and product supplement. 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 shares Price to public (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 Notes for 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. See “Supplemental Plan of Distribution (Conflicts of Interest)” 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 $921.50 and $971.50 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 less than this amount. We describe the determination of the initial estimated value in more detail below. 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. RBC Capital Markets, LLC (“RBCCM”) Minimum Investment:$1,000 and minimum denominations of $1,000 in excess thereof Trade Date:Issue Date:Valuation Date:*Maturity Date:* If the Final Underlier Value is less than the Buffer Value, you will lose some or a substantialportion of your principal amount at maturity. All payments on the Notes are subject to our creditrisk. You should read this pricing supplement together with the prospectus dated December 20, 2023, as supplemented by theprospectus supplement dated December 20, 2023, relating to our Senior Global Medium-Term Notes, Series J, of whichthe Notes are a part, the underlying supplement no. 1A dated May 16, 2024 and the product supplement no. 1B dated July22, 2025. This pricing supplement, together with these documents, contains the terms of the Notes and supersedes all We have not authorized anyone to provide any information or to make any representations other than those contained orincorporated by reference in this pricing supplement and the documents listed below. We take no responsibility for, andcan provide no assurance as to the reliability of, any other information that others may give you. These documents are anoffer to sell only the Notes offered hereby, but only under circumstances and in jurisdict