A tubular element (1) made of composite material and a method of producing the same, comprising a plurality of layers (2) of structural fibers, which are superimposed and arranged so that the fibers lie along preset directions and are immersed in a matrix of the polymeric type. A predefined amount of at least one color is provided in the polymeric matrix of the outermost layer (2a), substantially only proximate to the outermost surface thereof.