\documentclass{beamer}

\usetheme{Madrid}

\begin{document}

\title{Sample title}
\author{Sample author}

\begin{frame}
	\titlepage
\end{frame}

\end{document}