Skip to Content
DocsColor Tokens

Color Tokens

Color tokens can be accessed through the theme.colors object:

import { theme } from "@hitachivantara/uikit-react-core"; const MyComponent = () => ( <div style={{ color: theme.colors.primary }}> This text uses the semantic primary color. </div> );

Primary

Core brand colors used for main actions, primary buttons, and high-priority UI elements.

primary#2563EB
primaryDeep#1E40AF
primaryStrong#1D4ED8
primarySubtle#BFDBFE
primaryDimmed#DBEAFE

Positive

Colors that convey success, confirmation, progress, or completed states in the interface.

positive#059669
positiveDeep#065F46
positiveStrong#047857
positiveDimmed#ECFDF5
positiveSubtle#D1FAE5
positiveBorder#A7F3D0

Warning

Attention-grabbing tones that signal caution, potential issues, or important notices.

warning#F59E0B
warningDeep#B45309
warningStrong#D97706
warningDimmed#FFFBEB
warningSubtle#FEF3C7
warningBorder#FDE68A

Negative

Strong colors that indicate errors, critical alerts, or destructive and irreversible actions.

negative#DC2626
negativeDeep#991B1B
negativeStrong#B91C1C
negativeDimmed#FEF2F2
negativeSubtle#FEE2E2
negativeBorder#FECACA

Info

Neutral tones used for tips, contextual content, and non-critical informative messages.

info#0EA5E9
infoDeep#0369A1
infoStrong#0284C7
infoDimmed#F0F9FF
infoSubtle#E0F2FE
infoBorder#BAE6FD

Accent

Vibrant complementary colors used for highlights, decorative elements, and emphasis.

accent#4F46E5
accentDeep#3730A3
accentStrong#4338CA
accentSubtle#E0E7FF
accentDimmed#EEF2FF
accentBorder#C7D2FE

Text

Colors used for readable body text, headings and captions.

text#334155
textSubtle#64748B
textDisabled#A3A3A3
textDimmed#94A3B8
textLight#F8FAFC
textDark#334155

Background

Surface colors applied to pages, sections, containers, modals, and overlays.

bgPage#F1F5F9
bgContainer#F8FAFC
bgPageSecondary#E2E8F0
bgContainerSecondary#F1F5F9
bgHover
bgDisabled#E5E5E5
bgOverlay

Border

Subtle lines used to define component edges, dividers, inputs, and visual boundaries.

border#CBD5E1
borderSubtle#E2E8F0
borderStrong#64748B
borderDisabled#A3A3A3
Last updated on