Let (X, H) be a polarized K3 surface with mathrm {Pic}(X) = mathbb {Z}H, and let Cin |H| be a smooth curve of genus g. We give an upper bound on the dimension of global sections of a semistable vector bundle on C. This allows us to compute the higher rank Clifford indices of C with high genus. In particular, when gge r^2ge 4, the rank r Clifford index of C can be computed by the restriction of Lazarsfeld–Mukai bundles on X corresponding to line bundles on the curve C. This is a generalization of the result by Green and Lazarsfeld for curves on K3 surfaces to higher rank vector bundles. We also apply the same method to the projective plane and show that the rank r Clifford index of a degree d(ge 5) smooth plane curve is d-4, which is the same as the Clifford index of the curve.