\documentclass{article}
\usepackage{booktabs}
\usepackage[table]{xcolor}
\begin{document}
\begin{tabular}{lcccc}
\toprule
text & \multicolumn{4}{c}{text}\\
\arrayrulecolor{blue}\cmidrule{2-5}\arrayrulecolor{black}
text & 1 & 2 & 3 & 4 \\
\bottomrule
\end{tabular}
\end{document}