TriWest Color Usage
The use of color affects legibility, comprehension, and conformance to web accessibility standards.
Color Guidelines
- Do not use color alone to convey information.
- Provide sufficient contrast between text and background.
Primary Color Palette
The TriWest color palette consists of two primary color and two secondary colors: Old Glory Blue, Old Glory Red, a light blue, and a light grey.
WCAG 2.0 level AA requires a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. WCAG 2.1 requires a contrast ratio of at least 3:1 for graphics and user interface components (such as form input borders). WCAG Level AAA requires a contrast ratio of at least 7:1 for normal text and 4.5:1 for large text.
Large text is defined as 14 point (typically 18.66px) and bold or larger, or 18 point (typically 24px) or larger. WCAG defines large text as text that is 18pt and larger, or 14pt and larger if it is bold.
AA – 24px
3:1
PASS
AAA – 24px
4.5:1
PASS
HEX
#00205c
RGB
0, 32, 92
CMYK
100, 90, 31, 35
AA – 24px
3:1
PASS
AAA – 24px
4.5:1
PASS
HEX
#c40d3c
RGB
196, 13, 60
CMYK
16, 100, 76, 5
Secondary Color Palette
AA – 24px
3:1
PASS
AAA – 24px
4.5:1
PASS
HEX
#0071bb
RGB
0, 113, 187
CMYK
88, 53, 0, 0
AA – 24px
3:1
PASS
AAA – 24px
4.5:1
PASS
HEX
#ececec
RGB
236, 236, 236
CMYK
0, 0, 0, 7
Text Contrast
As indicated in the swatches above, text can be used on top of TriWest colors only at certain sizes and weights. Web accessibility standards explain why:
WCAG 2.0 level AA requires a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. WCAG 2.1 requires a contrast ratio of at least 3:1 for graphics and user interface components (such as form input borders). WCAG Level AAA requires a contrast ratio of at least 7:1 for normal text and 4.5:1 for large text.
Large text is defined as 14 point (typically 18.66px) and bold or larger, or 18 point (typically 24px) or larger. WCAG defines large text as text that is 18pt and larger, or 14pt and larger if it is bold.
Resources and Documentation
Color as Indicator
Color should not be the only indicator for interactive elements. For example, underline links when users hover over text, or use an asterisk to mark a required field. Red/green color blindness is also rather common, so avoid green on red or red on green. (Especially avoid using red and green for “bad” and “good” indicators.)
Color Combinations
Optimal Color Combinations
- Black on White
- Dark Gray on White
- White on Black
- Dark Blue on White
- White on Dark Blue
- Red on White
- White on Red
Color Combinations to Avoid
- Same Color on Color
- Dark on Dark
- Light on Light
- White on Light
- Red and Green
- Red and Black
- Vibrating Colors