Measurements of the trilinear gauge boson couplings W W γ and W W Z are presented using the data taken by DELPHI in 1998 at a centre-of-mass energy of 189 GeV and combined with DELPHI data at 183 GeV. Values are determined for ∆g Z 1 and ∆κ γ , the differences of the W W Z charge coupling and of the W W γ dipole coupling from their Standard Model values, and for λ γ , the W W γ quadrupole coupling. A measurement of the magnetic dipole and electric quadrupole moment of the W is extracted from the results for ∆κ γ and λ γ . The study uses data from the final states jj ν, jjjj, X, jjX and γX, where j represents a quark jet, an identified lepton and X missing four-momentum. The observations are consistent with the predictions of the Standard Model.