Color use
Always use brand colors. See color for the full palette and color guidance.
Be accessible
Minnesota state law requires all government agencies meet WCAG 2.1 at the AA level for digital content. A minimum contrast ratio of 4.5:1 (7:1 for the WCAG 2.1 AAA standard) between the foreground and background colors of on screen text must be achieved. Always lean towards a higher contrast ratio for easier readability. Never use color codes alone to define hierarchy or to differentiate text based information, include additional changes in shape or text.
In terms of color deficiency (color blindness), the safest colors are black, white and gray followed by blue and yellow. Contrasting red versus green is the most problematic, but can be usable so long as supplemental information is provided.
Subtle variations of colors may be lost in different monitor settings. For instance, flat panel screens are brighter than older monitors; Mac colors may be lighter than Windows colors. Finally, some low vision users set their monitors to high color contrast, reducing the mid-value range. If possible, test your colors on different monitors or different gamma settings.