Formula (I): (wherein R1, R2a, R2b, R3 and Ring B are as defined herein, and Ring A is of Formula (Ai), (A-ii), or (A-iii): wherein R, R, R, R, and R are as defined herein, and pharmaceutically acceptable salts thereof, and A pharmaceutical composition is provided herein. The compounds of the present invention are useful for inhibiting CARM1 activity. Also described are methods of using this compound to treat CARM1-mediated diseases.式(I):(式中、R1、R2a、R2b、R3および環Bが、本明細書において定義されるとおりであり、環Aが、式(A-i)、(A-ii)、または(A-iii):の基であり、式中、R、R、R、R、およびRが、本明細書において定義されるとおりである)の化合物およびその薬学的に許容できる塩、およびその医薬組成物が本明細書に提供される。本発明の化合物は、CARM1活性を阻害するのに有用である。CARM1媒介性疾患を治療するのにこの化合物を使用する方法も記載される。