Color System & Palette
Primary Colors (From Figma Design System)
These colors are extracted directly from the Demos Design System Figma file:
Color Usage Guidelines
Background Colors
Primary Background:
rgb(0, 0, 0)- Main page background, pure blackCard Background:
rgb(18, 18, 18)- Article cards, component backgrounds (Cod Gray)Secondary Background:
rgb(26, 26, 26)- Input fields, elevated surfacesTertiary Background:
rgb(42, 42, 42)- Hover states, subtle elevation (Mine Shaft)
Text Colors
Primary Text:
rgb(255, 255, 255)- Main content, headlinesSecondary Text:
rgb(117, 117, 117)- Supporting text, metadata (Boulder)Muted Text:
rgba(255, 255, 255, 0.67)- Subtle elements, disabled statesLight Text:
rgb(248, 250, 252)- Very light text on dark backgrounds (Catskill White)
Border & Divider Colors
Subtle Borders:
rgba(255, 255, 255, 0.1)- Card borders, dividersMedium Borders:
rgba(255, 255, 255, 0.2)- Input borders, separatorsFocus Borders:
rgb(37, 99, 235)- Interactive element focus (Royal Blue)
Accent & Interactive Colors
Primary Action:
rgb(37, 99, 235)- Buttons, links (Royal Blue)Hover State:
rgb(17, 25, 230)- Interactive hover (Blue)Success:
rgb(41, 184, 107)- Success states, confirmations (Mountain Meadow)Info Background:
rgba(37, 99, 235, 0.1)- Info callouts (Royal Blue 10%)
Implementation Examples
Accessibility Compliance
All color combinations meet WCAG AA standards for contrast:
White on Black: 21:1 contrast ratio (AAA)
Boulder on Black: 4.6:1 contrast ratio (AA)
Royal Blue on Black: 8.6:1 contrast ratio (AAA)
White on Royal Blue: 2.4:1 contrast ratio (AA for large text)
Color Naming Convention
The Figma design system uses descriptive color names based on standard color naming conventions:
Cod Gray: Very dark gray, almost black (#121212)
Mine Shaft / Shark: Dark gray (#2A2A2A)
Boulder: Medium gray (#757575)
Catskill White: Very light gray, almost white (#F8FAFC)
Royal Blue: Primary brand blue (#2563EB)
Oxford Blue: Dark blue-gray (#374151)
Mountain Meadow: Success green (#29B86B)
FOOTER
[ CYA ]
