I have no idea what form you want to change but the one with the blue header was created in an earlier version of Access before themes were a thing. Therefore, to use themes, you need to pick a theme and then change any color you want to a theme color. Then when you change themes, the color would change. Otherwise, you can just continue to use the hard-coded colors.