diff --git a/app/assets/stylesheets/new_nav.scss b/app/assets/stylesheets/new_nav.scss
index aa96450ca1ec9e596256841ef06d852a432e8cd1..e1c32ac8b6071ffb92cc6d7af51f1f792cf57e7f 100644
--- a/app/assets/stylesheets/new_nav.scss
+++ b/app/assets/stylesheets/new_nav.scss
@@ -141,7 +141,7 @@ header.navbar-gitlab-new {
 
   .location-badge {
     color: $gray-normal;
-    background-color: #2d2d2d;
+    background-color: $new-navbar-bg;
   }
 
   &.search-active {