Colors

Our color system is designed to be accessible, consistent, and meaningful across all Virtual Labs experiences.

Stable

Color Principles

Accessibility First

All color combinations meet WCAG 2.1 AA standards for contrast ratios.

Semantic Meaning

Colors convey meaning and state consistently across the system.

Scientific Context

Color choices support scientific data visualization and lab interfaces.

primary

50

#eff6ff

100

#dbeafe

200

#bfdbfe

300

#93c5fd

400

#60a5fa

500

#3b82f6

600

#2563eb

700

#1d4ed8

800

#1e40af

900

#1e3a8a

secondary

50

#f8fafc

100

#f1f5f9

200

#e2e8f0

300

#cbd5e1

400

#94a3b8

500

#64748b

600

#475569

700

#334155

800

#1e293b

900

#0f172a

success

50

#f0fdf4

100

#dcfce7

200

#bbf7d0

300

#86efac

400

#4ade80

500

#22c55e

600

#16a34a

700

#15803d

800

#166534

900

#14532d

warning

50

#fffbeb

100

#fef3c7

200

#fde68a

300

#fcd34d

400

#fbbf24

500

#f59e0b

600

#d97706

700

#b45309

800

#92400e

900

#78350f

error

50

#fef2f2

100

#fee2e2

200

#fecaca

300

#fca5a5

400

#f87171

500

#ef4444

600

#dc2626

700

#b91c1c

800

#991b1b

900

#7f1d1d

Usage Guidelines

Primary Colors
Use for primary actions, links, and key interface elements
Primary buttons and CTAs
Interactive elements
Hover and active states
Semantic Colors
Convey status, feedback, and system states
Success states and confirmations
Warnings and cautions
Errors and destructive actions

Implementation

CSS Custom Properties
Use these CSS custom properties in your stylesheets
:root {
  /* Primary Colors */
  --vl-primary-50: #eff6ff;
  --vl-primary-500: #3b82f6;
  --vl-primary-600: #2563eb;
  
  /* Semantic Colors */
  --vl-success: #16a34a;
  --vl-warning: #d97706;
  --vl-error: #dc2626;
  
  /* Usage */
  --vl-color-primary: var(--vl-primary-600);
  --vl-color-text: var(--vl-secondary-900);
  --vl-color-background: #ffffff;
}