August 7, 2026 Washington Trust Bancorp, Inc. 23 Broad Street Westerly, Rhode Island 02891 Re: Registration Statement on Form S-3 Ladies and Gentlemen: We have acted as special counsel to Washington Trust Bancorp, Inc., a Rhode Island corporation (the “Company”), in connection with its filing of a Registration Statement on Form S-3 (the “Registration Statement”) pursuant to the Securities Act of 1933, as amended (the “Securities Act”), relating to the registration of up to $150,000,000 of any combination of, among other things, (i) shares of the Company’s common stock, par value $0.0625 per share (the “Common Stock”); (ii) shares of the Company’s preferred stock, par value $0.01 per share (the “Preferred Stock”); (iii) one or more series of debt securities of the Company (the “Debt Securities”); (iv) depositary shares, representing a fractional interest in shares of Preferred Stock and evidenced by a depositary receipt (the “Depositary Shares”); (v) warrants to purchase Debt Securities, Common Stock, Preferred Stock or any combination of these securities (the “Warrants”); and (vi) units composed of any combination of the foregoing (the “Units” and, collectively with the Common Stock, Preferred Stock, Depositary Shares, Debt Securities, and Warrants, the “Securities”). Securities may be issued in an unspecified number (with respect to Common Stock, Preferred Stock, Depositary Shares, Warrants, and Units) or in an unspecified principal amount (with respect to Debt Securities). The Registration Statement provides that the Securities may be offered separately or together, in separate series, in amounts, at prices and on terms to be set forth in one or more prospectus supplements (each a “Prospectus Supplement”) to the prospectus contained in the Registration Statement. We have not been involved in the preparation of the Registration Statement. We have been retained solely for the purposes of rendering certain opinions pursuant to Rhode Island law. We have reviewed the Company’s charter documents and the corporate proceedings taken by the Company as we have deemed appropriate to give the opinions set forth below. With respect to the foregoing documents, we have assumed the genuineness of all signatures, the authenticity of all documents submitted to us as originals and the conformity to originals of all documents submitted to us as certified or reproduced copies. We have relied, without independent verification, on certificates of public officials and, as to matters of fact material to the opinion set forth below, on certificates of officers of the Company. The opinion set forth below is limited to the laws of the State of Rhode Island (without giving effect to choice of law principles).


 
Washington Trust Bancorp, Inc. August 7, 2026 Page 2 For purposes of the opinion set forth below, without limiting any other exceptions or qualifications set forth herein, we have assumed that after the issuance of any Securities offered pursuant to the Registration Statement, (1) the total number of issued shares of Preferred Stock then outstanding, will not exceed the total number of authorized shares of Preferred Stock under the Company’s articles of incorporation as then in effect (the “Charter”), and (2) the total number of issued shares of Common Stock together with the total number of shares of such stock issuable upon the exercise, exchange, conversion or settlement, as the case may be, of any exercisable, exchangeable or convertible security (including, without limitation, any Preferred Stock, any Warrant or any Unit), as the case may be, then outstanding, will not exceed the total number of authorized shares of Common Stock under the Charter. For purposes of the opinions set forth below, we refer to the following as the “Future Authorization and Issuance” of Securities: • with respect to any of the Securities, (a) the authorization by the Company of the amount, terms and issuance of such Securities (the “Authorization”) and (b) the issuance of such Securities in accordance with the Authorization therefor upon the receipt by the Company of the consideration (which, in the case of shares of Common Stock and Preferred Stock, is not less than the par value of such shares) to be paid therefor in accordance with the Authorization and that at such time all such Securities shall be deemed nonassessable; • with respect to Debt Securities, (a) the authorization, execution and delivery of the indenture or a supplemental indenture relating to such Securities by the Company and the trustee thereunder and/or (b) the establishment of the terms of such Debt Securities by the Company in conformity with the applicable indenture or supplemental indenture and applicable law, and (c) the execution, authentication and issuance of such Debt Securities in accordance with the applicable indenture or supplemental indenture and applicable law; and • with respect to Warrants or Units, (a) the authorization, execution and delivery by the Company and the other parties thereto of any agreement under which such Warrants or Units are to be issued and (b) the establishment of the terms of such Warrants or Units, and the execution and delivery of such Warrants or Units, in conformity with any applicable agreement under which such Warrants or Units are to be issued and applicable law. Based upon the foregoing, and subject to the additional qualifications set forth below, we are of the opinion that: 1. Upon the Future Authorization and Issuance of shares of Common Stock, such shares of Common Stock will be validly issued, fully paid and nonassessable.


 
Washington Trust Bancorp, Inc. August 7, 2026 Page 3 2. Upon the Future Authorization and Issuance of shares of Preferred Stock, such shares of Preferred Stock will be validly issued, fully paid and nonassessable. 3. Upon the Future Authorization and Issuance of the Depositary Shares, such Depositary Shares will be validly issued, fully paid and nonassessable. 4. Upon the Future Authorization and Issuance of Debt Securities, such Debt Securities will be valid and binding obligations of the Company. 5. Upon the Future Authorization and Issuance of Warrants, such Warrants will be valid and binding obligations of the Company. 6. Upon the Future Authorization and Issuance of Units, such Units will be valid and binding obligations of the Company. This opinion letter is rendered as of the date first written above and we disclaim any obligation to advise the Company of facts, circumstances, events or developments which hereafter may be brought to our attention and which may alter, affect or modify the opinion expressed herein. Our opinion is expressly limited to the matters set forth above and we render no opinion, whether by implication or otherwise, as to any other matters relating to the Registration Statement or the Securities. This opinion is being furnished to you for your submission to the U.S. Securities and Exchange Commission as an exhibit to the Registration Statement. We hereby consent to the use and the name of our firm therein in the section entitled “Legal Matters” in the Registration Statement. In giving this consent, we do not admit that we are in the category of persons whose consent is required under Section 7 of the Securities Act. Very truly yours, PARTRIDGE SNOW & HAHN LLP BY: Jay Peabody (Aug 3, 2026 12:49:37 EDT) JAY R. PEABODY, PARTNER