The colour styles are built into the
UI Kit
. You should use these to help maintain consistency when you are building custom experiences.
Text
Primary text is an off-black colour that satisfies minimum and maximum contrast needs. Use this colour for the majority of text and elements.
Use the secondary text colour for supporting content such as helper text or less important information in lists and tables.
Use the tertiary text colour for even less important information. Use the tertiary text colour sparingly and always try to use the primary or secondary colours first.
Don't use different colours for text, unless specified as part of a component.
Primary text
--ic-color-primary-text
#0B0C0C
Secondary text
--ic-color-secondary-text
#41464D
Tertiary text
--ic-color-tertiary-text
#6C7580
White text
--ic-color-white-text
#FFFFFF
Action
Use the action colour for interactive elements like buttons, form controls and important actions. This makes it easy for people to recognise elements and switch between contexts.
The single action colour creates consistency across a range of apps. Use the dark or light action colour variant if a background colour is used.
Use the destructive action colour styles for actions that can't be reversed.
Action default active
--ic-action-default
#1759BC
Action default hover
--ic-action-default-hover
#0B399C
Action default pressed
--ic-action-default-active
#07277E
Destructive active
--ic-action-destructive
#D4351C
Destructive hover
--ic-action-destructive-hover
#AD1E0E
Destructive pressed
--ic-action-destructive-active
#8B1209
Action light active
--ic-action-light
#FFFFFF
Action light hover
--ic-action-light-hover
#C4C8CD
Action light pressed
--ic-action-light-active
#A7ACB3
Action dark active
--ic-action-dark
#0B0C0C
Action dark hover
--ic-action-hover
#2C2F34
Action dark pressed
--ic-action-active
#41464D
Action backgrounds
Interactive elements sometimes require transparent backgrounds for their hover and pressed states. The action background colour styles use the action colour styles with transparency.
Action background hover
--ic-action-default-bg-hover
#1759BC, 10%
Action background pressed
--ic-action-default-bg-active
#1759BC, 20%
Action dark background hover
--ic-action-dark-bg-hover
#41464D, 10%
Action dark background pressed
--ic-action-dark-bg-active
#41464D, 20%
Action light background hover
--ic-action-light-bg-hover
#FFFFFF, 10%
Action light background pressed
--ic-action-light-bg-active
#FFFFFF, 20%
Links
Use these colours for all links. These specific colours help to identify links from non-interactive text.
Link
--ic-hyperlink
#1759BC
Link visited
--ic-hyperlink-visited
#330072
Status
Use these colours only for status updates, errors and warnings. Always include text describing the status even if you use an icon.
Use the contrast colour variants to achieve good contrast when displaying status on dark backgrounds.
Use the 'warning dark' colour for any 'warning' text.
Success
--ic-status-success
#00703C
Success light
--ic-status-success-light
#E8FEF3
Success contrast
--ic-status-success-contrast
#1BB56C
Success dark
--ic-status-success-dark
#0E3020
Warning
--ic-status-warning
#D07932
Warning light
--ic-status-warning-light
#FFFBD8
Warning contrast
--ic-status-warning-contrast
#FFC107
Warning dark
--ic-status-warning-dark
#7A4C3C
Error
--ic-status-error
#D4351C
Error light
--ic-status-error-light
#FFE4E3
Error contrast
--ic-status-error-contrast
#F15B4E
Error dark
--ic-status-error-dark
#610A05
Information
--ic-status-info
#124DB3
Information light
--ic-status-info-light
#E1F0FC
Information contrast
--ic-status-info-contrast
#488FE3
Information dark
--ic-status-info-dark
#041144
Anomalous
--ic-status-anomalous
#7C25C2
Anomalous light
--ic-status-anomalous-light
#EFDBFF
Anomalous contrast
--ic-status-anomalous-contrast
#B764FB
Anomalous dark
--ic-status-anomalous-dark
#350F54
Unknown
--ic-status-unknown
#6C7580
Unknown light
--ic-status-unknown-light
#F4F4F5
Unknown contrast
--ic-status-unknown-contrast
#A7ACB3
Unknown dark
--ic-status-unknown-dark
#2C2F34
The following status colours have been deprecated. You can find equivalent colours in the table above.
Success background
--ic-status-success-background
Deprecated
#E8FEF3
Warning mid
--ic-status-warning-mid
Deprecated
#D07932
Warning background
--ic-status-warning-background
Deprecated
#FFFBD8
Error background
--ic-status-error-background
Deprecated
#FFE4E3
Information background
--ic-status-info-background
Deprecated
#E1F0FC
Classification
Use these colour styles for components that indicate content's classification.
Not set
--ic-classification-not-set
#616161
Official/Official sensitive
--ic-classification-official
#2B71C7
Secret
--ic-classification-secret
#F39C2C
Top secret
--ic-classification-top-secret
#AA0000
Architectural
Use these colours in lines, borders and backgrounds to logically separate distinct pieces of content.
Architectural black
--ic-architectural-black
#000000
Architectural 900
--ic-architectural-900
#0B0C0C
Architectural 800
--ic-architectural-800
#2C2F34
Architectural 700
--ic-architectural-700
#41464D
Architectural 600
--ic-architectural-600
#575E68
Architectural 500
--ic-architectural-500
#6C7580
Architectural 400
--ic-architectural-400
#8A919B
Architectural 300
--ic-architectural-300
#A7ACB3
Architectural 200
--ic-architectural-200
#C4C8CD
Architectural 100
--ic-architectural-100
#E1E3E5
Architectural 80
--ic-architectural-80
#E8E9EB
Architectural 60
--ic-architectural-60
#EEEFF0
Architectural 40
--ic-architectural-40
#F4F4F5
Architectural 20
--ic-architectural-20
#F9FAFA
Architectural white
--ic-architectural-white
#FFFFFF
Theme
You may choose a theme colour to give your app a distinct theme or 'brand'. Make sure it meets contrast requirements with either black or white foreground text.
If you use the
IC UI Kit
, the foreground colour will be automatically determined based on your theme colour.
These colours have been considered against a variety of accessibility and usability practices. This includes colour contrast, recognition, consistency and with various colour deficiencies.
If using a 'light' theme colour, any text in those components will need to be black instead of white. This is automatic if you're using the IC UI Kit. It's not possible to use 'inaccessible' colours in the IC UI Kit as they'll revert to the default theme colour. See the component documentation for more details.
Last reviewed
30 September 2024
.
Navigated to Colour - Intelligence Community Design System