Here is my suggestion. In order to get rid of the white line, you can use \hhline{>{\arrayrulecolor[HTML]{A4CAF6}}->{\arrayrulecolor{black}}-------->{\arrayrulecolor[HTML]{A4CAF6}}->{\arrayrulecolor{black}}}
. This will fill the white gap with a line in the same color as the background.
Instead of repeating the HTML color definition over and over, I suggest defining the color in the preamble and using this predefined color throughout your document. This will make thing much easier if you later on decide to change the color. You will then only have to chenge the definition in the preamble instead of changing the color of every single cell.
In the following MWE I have used such a globally defined color.
I have also added the siunitx
package for the units °C and MPa. I have also changed the code for Rp0,2 and UTS (assuming that these correpsond to yield strength and ultimate tensile strength) since using math mode for abbreviations is not recommended. If you want UTS to show up in italic, use \textit{UTS}
instead.
For the second table, I have added the cellspace
packagein order to add some vertical space above and below the text in each cell to avoid overlap with the horizontal lines.

\documentclass{article}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{hhline}
\usepackage[table]{xcolor}
\usepackage{siunitx}
\definecolor{myblue}{HTML}{A4CAF6}
\definecolor{myyellow}{HTML}{FFFFC7}
\definecolor{mygray}{HTML}{CFCFCF}
\usepackage[column=0]{cellspace}
\setlength\cellspacetoplimit{0.5\tabcolsep}
\setlength\cellspacebottomlimit{\cellspacetoplimit}
\begin{document}
\begin{table}[h]
\centering
\begin{tabular}{l*8cl}
\hline
\rowcolor[HTML]{A4CAF6}
\multicolumn{1}{c}{\cellcolor{myblue}} & \multicolumn{8}{c}{\cellcolor{myblue}Temperatura [\si{\celsius}]} & \cellcolor{myblue} \\
\hhline{>{\arrayrulecolor{myblue}}->{\arrayrulecolor{black}}-------->{\arrayrulecolor{myblue}}->{\arrayrulecolor{black}}}
\rowcolor{myblue}
\multicolumn{1}{c}{\multirow{-2}{*}{\cellcolor{myblue}Propiedad}} & 25 & 50 & 100 & 150 & 200 & 250 & 300 & 350 & \multirow{-2}{*}{\cellcolor{myblue}Referencia} \\
\rowcolor{myyellow}
R\textsubscript{p0,2} [\si{\mega\pascal}] & & & & & & & & & \\
\rowcolor{mygray}
UTS [\si{\mega\pascal}] & & & & & & & & & \\ \hline
\end{tabular}
\end{table}
\begin{table}[h]
\centering
\begin{tabular}{0l*{8}{0c}0l}
\hline
\rowcolor[HTML]{A4CAF6}
\multicolumn{1}{c}{\cellcolor{myblue}} & \multicolumn{8}{c}{\cellcolor{myblue}Temperatura [\si{\celsius}]} & \cellcolor{myblue} \\
\hhline{>{\arrayrulecolor{myblue}}->{\arrayrulecolor{black}}-------->{\arrayrulecolor{myblue}}->{\arrayrulecolor{black}}}
\rowcolor{myblue}
\multicolumn{1}{c}{\multirow{-2}{*}{\cellcolor{myblue}Propiedad}} & 25 & 50 & 100 & 150 & 200 & 250 & 300 & 350 & \multirow{-2}{*}{\cellcolor{myblue}Referencia} \\
\rowcolor{myyellow}
R\textsubscript{p0,2} [\si{\mega\pascal}] & & & & & & & & & \\
\rowcolor{mygray}
UTS [\si{\mega\pascal}] & & & & & & & & & \\ \hline
\end{tabular}
\end{table}
\end{document}
\hline
instead of\toprule
and\bottomrule
and\hhline{~--------~}
instead of\cmidrule
.\usepackage{siunitx}
and use[\si{\celsius}]
instead of$[^{\circ}C]$
.\hline
because it didn't show when extracted to a pdf. Although I did use\hhline
as you sagguested but the problem persists. It generates a white line of the same width.\hhline{>{\arrayrulecolor[HTML]{A4CAF6}}->{\arrayrulecolor{black}}-------->{\arrayrulecolor[HTML]{A4CAF6}}->{\arrayrulecolor{black}}}
should remove the small white gap