PROBLEM TO BE SOLVED: To provide a composition including a humectant and dispersant extremely reducing and stabilizing the viscosity of a formulation and having no adverse effect on the development step during manufacturing of a color filter.SOLUTION: The composition includes a humectant and/or a dispersant (A), a colorant (B) and an organic solvent (C). The humectant and/or the dispersant (A) is a diblock copolymer consisting of a first block consisting of one repeating unit 1 or more and a second block including a repeating unit 2 having a hydroxy carbonyl alkylammonium group in a side chain, a repeating unit 3 having an amino group in a side chain and one repeating unit 4 or more having an ammonium group in a side chain.SELECTED DRAWING: None