The present invention provides a compound a formula (I) or a pharmaceutically acceptable salt thereof, wherein: X is CH2, O, S or-NR1 each R1 are independently C1-7alkyl or C3-8cycloalkyl each of R2 and R6 are independently hydrogen, halogen, cyano, C1-7alkyl, hydroxy-C1-7alkyl, -OR7, C3-8cycloalkyl, halo-C1-7alkyl or -CH2-NR8-SO2-R10 R3 and R4 are independently hydrogen, halogen or cyano R5 is hydrogen, C1-2alkyl, halogen, cyano, hydroxy, hydroxy-C1-7alkyl, hydroxy-C3-8 cycloalkylalkyl, C1-7alkoxy-C3-3alkyl, -OR7, C6-10aryl, heteroaryl, heterocyclyl, C3-8 cycloalkyl, halo- C1-7alkyl, -NR8R9, -CH2NR8-C(O)NR8R9, -CH2-NR6-SO2-R10, -C(O)- R10, -SO2R10, -C(O)-NR5R9 -SO2-NR8R9, -NR3C(O)-R10 -CH2CN, or -NR8-SO2-R10. Compounds of the invention may be useful in the treatment of a disorder or disease mediated by aldosterone synthase and/or 11-beta hydroxylase (CYP1 181).Linvention concerne un composé de formule (I) ou un sel de celui-ci pharmaceutiquement acceptable. Dans la formule (I), X représente CH2, O, S ou -NR1 chaque R1 représente de façon indépendante un alkyle en C1-7 ou un cycloalkyle en C3-8 chacun de R2 et R6 représentent de façon indépendante de lhydrogène, de lhalogène, du cyano, un alkyle en C1-7, un hydroxy-C1-7alkyl, -OR7, un cycloalkyle en C3-8, halo-C1-7alkyl ou -CH2-NR8-SO2-R10 R3 et R4 représentent de façon indépendante de lhydrogène, de lhalogène ou du cyano R5 représente de lhydrogène, un alkyle en C1-2, de lhalogène, du cyano, de lhydroxy, un hydroxy-C1-7alkyl, un hydroxy-C3-8 cycloalkylalkyle, un C1-7alkoxy-C3-3alkyl, -OR7, un C6-10 aryle, hétéroaryle, hétérocyclyle, un C3-8 cycloalkyle, un halo- C1-7alkyle, -NR8R9, -CH2NR8-C(O)NR8R9, -CH2-NR6-SO2-R10, -C(O)- R10, -SO2R10, -C(O)-NR5R9 -SO2-NR8R9, -NR3C(O)-R10 -CH2CN, ou -NR8-SO2-R10. Les composés de linvention peuvent être utiles dans le traitement de troubles ou de maladies induites par laldostérone synthase et/ou la 11-bêta-hydroxylase (CYP1 181).