Our study demonstrated from an in silico approach that polyphenols found in blue corn and black bean extracts, especially anthocyanins, have the potential to interact and modulate the activity of proteins involved in the main pathways of type 2 diabetes mellitus such as insulin secretion, insulin resistance and carbohydrate absorption. The gene discussed is INS; the disease is type 2 diabetes mellitus.