In this paper we point out an Ostrowski type inequality for convex functions which complement in a sense the recent results for functions of bounded variation and absolutely continuous functions. Applications in connection with the Hermite-Hadamard inequality are also considered.