Chromatic palette
NOTE:
View the
Data visualization > Color
section for details about the data visualization palette.
We have five primary chromatic hues and their color steps, totaling 55 color variables for use across the application. These colors give flexibility during the design process, while also providing a harmonious palette that looks consistent and in-line with our brand styles.
Though deciding which color to use depends on the situation, here are some general guidelines for using the chromatic palette hues:
- Blue indicates a current or active state. It communicates management, progress, connectivity, or organization.
- Green indicates success. It communicates save, create, add, available, done, approved, or resolved.
- Orange indicates attention is required. It communicates warning, pending, missing, or impeded progress.
- Red indicates a problem. It communicates a critical state, destructive action, error, failure, removal, stop, or decline.
- Purple is not assigned meaning in the same way the other chromatic hues are, and instead is associated with the GitLab brand. It communicates an affinity with the brand, and is used for things like illustrations or company-related announcements in the product.
Blue
$blue-50 #e9f3fc
Passing level and contrast ratio
$blue-100 #cbe2f9
Passing level and contrast ratio
$blue-200 #9dc7f1
Passing level and contrast ratio
$blue-300 #63a6e9
Passing level and contrast ratio
$blue-400 #428fdc
Passing level and contrast ratio
$blue-500 #1f75cb
Passing level and contrast ratio
$blue-600 #1068bf
Passing level and contrast ratio
$blue-700 #0b5cad
Passing level and contrast ratio
$blue-800 #064787
Passing level and contrast ratio
$blue-900 #033464
Passing level and contrast ratio
$blue-950 #002850
Passing level and contrast ratio
Green
$green-50 #ecf4ee
Passing level and contrast ratio
$green-100 #c3e6cd
Passing level and contrast ratio
$green-200 #91d4a8
Passing level and contrast ratio
$green-300 #52b87a
Passing level and contrast ratio
$green-400 #2da160
Passing level and contrast ratio
$green-500 #108548
Passing level and contrast ratio
$green-600 #217645
Passing level and contrast ratio
$green-700 #24663b
Passing level and contrast ratio
$green-800 #0d532a
Passing level and contrast ratio
$green-900 #0a4020
Passing level and contrast ratio
$green-950 #072b15
Passing level and contrast ratio
Orange
$orange-50 #fdf1dd
Passing level and contrast ratio
$orange-100 #f5d9a8
Passing level and contrast ratio
$orange-200 #e9be74
Passing level and contrast ratio
$orange-300 #d99530
Passing level and contrast ratio
$orange-400 #c17d10
Passing level and contrast ratio
$orange-500 #ab6100
Passing level and contrast ratio
$orange-600 #9e5400
Passing level and contrast ratio
$orange-700 #8f4700
Passing level and contrast ratio
$orange-800 #703800
Passing level and contrast ratio
$orange-900 #5c2900
Passing level and contrast ratio
$orange-950 #421f00
Passing level and contrast ratio
Red
$red-50 #fcf1ef
Passing level and contrast ratio
$red-100 #fdd4cd
Passing level and contrast ratio
$red-200 #fcb5aa
Passing level and contrast ratio
$red-300 #f57f6c
Passing level and contrast ratio
$red-400 #ec5941
Passing level and contrast ratio
$red-500 #dd2b0e
Passing level and contrast ratio
$red-600 #c91c00
Passing level and contrast ratio
$red-700 #ae1800
Passing level and contrast ratio
$red-800 #8d1300
Passing level and contrast ratio
$red-900 #660e00
Passing level and contrast ratio
$red-950 #4d0a00
Passing level and contrast ratio
Purple
$purple-50 #f4f0ff
Passing level and contrast ratio
$purple-100 #e1d8f9
Passing level and contrast ratio
$purple-200 #cbbbf2
Passing level and contrast ratio
$purple-300 #ac93e6
Passing level and contrast ratio
$purple-400 #9475db
Passing level and contrast ratio
$purple-500 #7b58cf
Passing level and contrast ratio
$purple-600 #694cc0
Passing level and contrast ratio
$purple-700 #5943b6
Passing level and contrast ratio
$purple-800 #453894
Passing level and contrast ratio
$purple-900 #2f2a6b
Passing level and contrast ratio
$purple-950 #232150
Passing level and contrast ratio
Neutral palette
The neutral palette is primarily used within components to help differentiate hierarchy. Use shades of gray as backgrounds, borders, and shadows to emphasize areas or set them apart.
$white #ffffff
Passing level and contrast ratio
$gray-10 #fbfafd
Passing level and contrast ratio
$gray-50 #ececef
Passing level and contrast ratio
$gray-100 #dcdcde
Passing level and contrast ratio
$gray-200 #bfbfc3
Passing level and contrast ratio
$gray-300 #a4a3a8
Passing level and contrast ratio
$gray-400 #89888d
Passing level and contrast ratio
$gray-500 #737278
Passing level and contrast ratio
$gray-600 #626168
Passing level and contrast ratio
$gray-700 #535158
Passing level and contrast ratio
$gray-800 #434248
Passing level and contrast ratio
$gray-900 #333238
Passing level and contrast ratio
$gray-950 #1f1e24
Passing level and contrast ratio
$black #000000
Passing level and contrast ratio
Transparency
Transparency is used only to indicate hover and active states within themes. Each theme has a series of four transparencies to utilize alpha levels ranging from 0.02 to 0.08.
$t-gray-a-02 rgba($gray-950, 0.02)
$t-gray-a-04 rgba($gray-950, 0.04)
$t-gray-a-06 rgba($gray-950, 0.06)
$t-gray-a-08 rgba($gray-950, 0.08)
$t-gray-a-16 rgba($gray-950, 0.16)
$t-gray-a-24 rgba($gray-950, 0.24)
Themes
A user may choose between ten different themes to customize the appearance of the application header and navigation sidebar in GitLab. Each theme draws inspiration from one of the primary chromatic colors, the neutral palette, or the corporate indigo color.
- Indigo and light indigo share the same
$t-indigo-
variables.
- Green and light green share the same
$t-green-
variables.
- Dark and light share the same
$t-gray-
variables.
Light blue
$t-light-blue-100 #c1d4e6
$t-light-blue-200 #a0bedc
$t-light-blue-300 #74a3d3
$t-light-blue-400 #4f8bc7
$t-light-blue-500 #3476b9
$t-light-blue-600 #2268ae
$t-light-blue-700 #145aa1
$t-light-blue-800 #0e4d8d
$t-light-blue-900 #0c4277
$t-light-blue-950 #0a3764
Accessibility
At GitLab, we are dedicated to continually improving the accessibility of the application. Pajamas satisfies the Web Content Accessibility Guidelines (WCAG) AA level for normal text. Learn more in Accessibility.
- Normal text must have a contrast ratio of at least 4.5:1.
- Large text is defined as
14pt
Bold (18.5px
) or 18pt
(24px
) and must have a contrast ratio of at least 3:1.
Passing level and contrast ratio
- AAA - Pass 7:1+
- AA - Pass 4.5:1+
- AA+ - Pass, large text only 3:1+
- F - Doesn’t pass
Contrast ratios for each color step are calculated using white (#fff
) and black (#000
). The 50–400
steps all meet a 4.5:1 contrast ratio or higher against $gray-950 (#1f1e24
) or darker, while the 500–950
steps all meet a 4.5:1 contrast ratio against $gray-10
(#fbfafd
) or lighter.
Use colors at least two steps apart to ensure distinguishable contrast for states and border/fill combinations.