Coordinated for shadcn/ui

Coordinated is a shadcn/ui theme built around a vivid blue primary color (#045ca9) with vivid orange accents (#a95104). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid blue primary (#045ca9) on a blue-tinted background (#060a0e).

Color palette

TokenLightDark
Background
#fbfdfewhite
#060a0eblack
Foreground
#010304black
#fcfcfdwhite
Card
#fbfdfewhite
#060a0eblack
Card foreground
#010304black
#fcfcfdwhite
Popover
#fbfdfewhite
#060a0eblack
Popover foreground
#010304black
#fcfcfdwhite
Primary
#045ca9teal
#045ca9teal
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#a95104saddlebrown
#a95104saddlebrown
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e5e3e1gainsboro
#1e1c1ablack
Muted foreground
#443f3bdarkslategray
#c4bfbbsilver
Accent
#a95104saddlebrown
#a95104saddlebrown
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#850f0fmaroon
#ea4343tomato
Destructive foreground
#f9cdcdpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#045ca9teal
#045ca9teal

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.20:1AAA
Text on card20.20:1AAA
Primary button6.73:1AA
Secondary button5.42:1AA
Muted text8.11:1AAA
Accent5.42:1AA
Destructive7.06:1AAA
Dark mode
Text on background19.32:1AAA
Text on card19.32:1AAA
Primary button6.73:1AA
Secondary button5.42:1AA
Muted text9.31:1AAA
Accent5.42:1AA
Destructive3.90:1AA Large

CSS variables

Paste this into your globals.css to use Coordinated in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 244.118);
  --foreground: oklch(0.09 0.01 235.863);
  --muted: oklch(0.916 0.004 64.036);
  --muted-foreground: oklch(0.373 0.01 63.756);
  --popover: oklch(0.992 0.002 244.118);
  --popover-foreground: oklch(0.09 0.01 235.863);
  --card: oklch(0.992 0.002 244.118);
  --card-foreground: oklch(0.09 0.01 235.863);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.475 0.143 252.74);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.536 0.137 51.598);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.536 0.137 51.598);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.395 0.151 27.77);
  --destructive-foreground: oklch(0.885 0.051 18.157);
  --ring: oklch(0.475 0.143 252.74);
  --chart-1: oklch(0.475 0.143 252.74);
  --chart-2: oklch(0.536 0.137 51.598);
  --chart-3: oklch(0.536 0.137 51.598);
  --chart-4: oklch(0.569 0.146 51.317);
  --chart-5: oklch(0.477 0.146 253.084);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.144 0.011 242.083);
  --foreground: oklch(0.992 0.001 244.103);
  --muted: oklch(0.228 0.005 63.78);
  --muted-foreground: oklch(0.807 0.008 63.965);
  --popover: oklch(0.144 0.011 242.083);
  --popover-foreground: oklch(0.992 0.001 244.103);
  --card: oklch(0.144 0.011 242.083);
  --card-foreground: oklch(0.992 0.001 244.103);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.475 0.143 252.74);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.536 0.137 51.598);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.536 0.137 51.598);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.627 0.204 25.298);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.475 0.143 252.74);
  --chart-1: oklch(0.475 0.143 252.74);
  --chart-2: oklch(0.536 0.137 51.598);
  --chart-3: oklch(0.536 0.137 51.598);
  --chart-4: oklch(0.569 0.146 51.317);
  --chart-5: oklch(0.477 0.146 253.084);
}