Univariate analysis results identified that sex and levels of albumin, creatinine and LDL‐C were positively correlated to 25(OH)D level (p = .024, p < .001, p = .003, and p = .012, respectively), while age, diabetes, NLR, and MLR were negatively correlated to 25(OH)D level (p = .002, p = .002, p < .001, and p < .001, respectively). Here, ALB is linked to diabetes mellitus.