Their lifetime and 10-year ASCVD risk scores were significantly higher regardless of vitamin D deficiency levels (P=0.006; P=0.023) in comparison to patients with sufficient levels of vitamin D. Among patients, the lifetime and 10 years of ASCVD risk showed a significant negative correlation with serum 25(OH)D3 and HDLc (P=0.037; 0.018) (P=0.0001), respectively, and significant positive correlation with T2DM duration, serum insulin, and HOMA-IR (P=0.018; 0.0001) (P=0.002; 0.001) (P=0.005; 0.001), respectively. The gene discussed is INS; the disease is type 2 diabetes mellitus.