In other words: for utilitarianism, an action is right if and only if it produces the best possible consequences; for Kant, an action is morally good if it is determined by a principle of pure reason, irrespective of the consequences. It is hoped that the consequences of good actions are good too.