This is because there is no atmosphere containing air in the outer space to scatter light. Since there is no scattered light which can reach our eyes in outer space, therefore, the sky looks dark and black there. This is why the astronauts who go to outer space find the sky to be dark and black instead of blue.