Neutral400#141414
Neutral90#737475
Blue500#0265dc
Neutral0#ffffff
Neutral10#fcfcfc
Neutral40#f5f5f5
Neutral60#dfe0e1
Neutral300#2d2e31
Blue500#0265dc
Neutral50#eeeeee
Red500#e13212
Red500#e13212
Yellow500#ffbe00
Green500#007a4d
Blue500#0265dc
When using color, it is strongly encouraged to meet minimum contrast ratios with text and background colors. At minimum, text contrast should meet the WCAG 2.0 AA Large guidelines.
Black on White
Neutral90 on White
White on Blue500
Neutral90 on Neutral40
Neutral80 on White
White on Yellow
Black on Red500
Black on Blue500
Icons are able to be one color shade below the WCAG AA guidelines. This means that icons can be Neutral 80 on a white background. This should be avoided with icon-only interfaces and with small icons.
Hover states are typically one shade lighter on dark background colors, and one shade darker on light background colors.
A blue border is typically used to indicate both focus and active states.
In general, the disabled state is denoted with a 60% opacity applied to the element. It is also common for elements to be greyscaled.
Blue is used to denote primary and most interactive elements on the page.
Blue100#e0f2ff
Blue200#b5deff
Blue300#78bbfa
Blue400#3892f3
Blue500#0265dc
Blue600#004491
Neutral shades represent the foundation of interfaces. They are used to represent most a page's layout, information, and non-interactive elements.
Neutral0#ffffff
Neutral10#fcfcfc
Neutral20#fafafa
Neutral30#f7f7f7
Neutral40#f5f5f5
Neutral50#eeeeee
Neutral60#dfe0e1
Neutral70#bcbcbd
Neutral80#949596
Neutral90#737475
Neutral100#606162
Neutral200#444445
Neutral300#2d2e31
Neutral400#141414
Neutral500#040404
Red is used to indicate negative trends, critical/error messages, and destructive events. It should be used sparingly on high priority situations. Lower priority warnings should utilize yellow.
Red100#ffece9
Red200#ffb2a0
Red300#ff745f
Red400#f94d32
Red500#e13212
Red600#bf2a00
Yellow is used to indicate warnings that users should be aware of, but do not require immediate action.
Yellow100#fff9e2
Yellow200#fff0b1
Yellow300#ffe278
Yellow400#ffc902
Yellow500#ffbe00
Yellow600#de9500
Green is used to indicate positive trends, success, and on states.
Green100#cef8e0
Green200#89ecbc
Green300#49cc93
Green400#15a46e
Green500#007a4d
Green600#005132
Extended colors give designers additional options in novel UI situations and visual design. These colors can be used to describe UI elements with many potential options (such as Avatars and Tags), in data visualizations, illustrations, and user generated content.
Blue Grey can be used to give subtle distinction from neutrals and blues. It should not be used to indicate disabled states.
Blue-grey100#eaeff2
Blue-grey200#d0d8dd
Blue-grey300#b4c1c8
Blue-grey400#8c9ca5
Blue-grey500#6a7a85
Blue-grey600#576671
Orange100#ffeccc
Orange200#fdd291
Orange300#ffa037
Orange400#e46f00
Orange500#b14c00
Orange600#7a2f00
Cyan can be used as an accent color in data visualizations and illustrations.
Cyan100#e3fcff
Cyan200#b1f3fa
Cyan300#13ceea
Cyan400#08bfdf
Cyan500#0ca5c0
Cyan600#038299
Purple can be used to denote info, particularly on non-interactive elements.
Purple100#f1edff
Purple200#c1b6f2
Purple300#8772e5
Purple400#6954c0
Purple500#4f3a9e
Purple600#422799
Magenta can be used as an accent color in data visualizations and illustrations.
Magenta100#fbeaf5
Magenta200#faafe2
Magenta300#d949a9
Magenta400#b52d88
Magenta500#982071
Magenta600#7d165b
Anvil uses Tokens to manage its colors. Tokens act as variables in our design system, allowing us to avoid hard-coding hex values, and letting us use the colors in multiple contexts. In development, this can be used to easily apply background and text colors.
The complete list of Token values for our color palette can be found in Storybook.