Parallel for shadcn/ui

Parallel is a shadcn/ui theme built around a deep blue primary color (#1b3246) with deep indigo accents (#1b1d46). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep blue primary (#1b3246) on a blue-tinted background (#05080b).

Color palette

TokenLightDark
Background
#ffffffwhite
#05080bblack
Foreground
#030d16black
#fcfdfdwhite
Card
#ffffffwhite
#05080bblack
Card foreground
#030d16black
#fcfdfdwhite
Popover
#ffffffwhite
#05080bblack
Popover foreground
#030d16black
#fcfdfdwhite
Primary
#1b3246darkslategray
#1b3246darkslategray
Primary foreground
#b2cbe1lightsteelblue
#b2cbe1lightsteelblue
Secondary
#1b4644darkslategray
#1b4644darkslategray
Secondary foreground
#b2e1dfpowderblue
#b2e1dfpowderblue
Muted
#d6eaeagainsboro
#152928darkslategray
Muted foreground
#606262dimgray
#9d9f9fdarkgray
Accent
#1b1d46midnightblue
#1b1d46midnightblue
Accent foreground
#b2b3e1lightsteelblue
#b2b3e1lightsteelblue
Destructive
#c43012firebrick
#ed593btomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1b3246darkslategray
#1b3246darkslategray

Contrast

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

Light mode
Text on background19.57:1AAA
Text on card19.57:1AAA
Primary button7.88:1AAA
Secondary button7.35:1AAA
Muted text4.93:1AA
Accent7.98:1AAA
Destructive5.56:1AA
Dark mode
Text on background19.72:1AAA
Text on card19.72:1AAA
Primary button7.88:1AAA
Secondary button7.35:1AAA
Muted text5.74:1AA
Accent7.98:1AAA
Destructive6.07:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.155 0.027 242.101);
  --muted: oklch(0.923 0.021 194.361);
  --muted-foreground: oklch(0.494 0.002 194.698);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.155 0.027 242.101);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.155 0.027 242.101);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.308 0.046 246.398);
  --primary-foreground: oklch(0.831 0.041 244.711);
  --secondary: oklch(0.363 0.047 192.31);
  --secondary-foreground: oklch(0.876 0.049 193.767);
  --accent: oklch(0.254 0.076 278.046);
  --accent-foreground: oklch(0.783 0.065 283.248);
  --destructive: oklch(0.54 0.189 32.766);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.308 0.046 246.398);
  --chart-1: oklch(0.308 0.046 246.398);
  --chart-2: oklch(0.363 0.047 192.31);
  --chart-3: oklch(0.254 0.076 278.046);
  --chart-4: oklch(0.4 0.053 192.258);
  --chart-5: oklch(0.308 0.049 246.616);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.13 0.01 238.554);
  --foreground: oklch(0.992 0.002 244.108);
  --muted: oklch(0.262 0.026 192.937);
  --muted-foreground: oklch(0.701 0.002 194.73);
  --popover: oklch(0.13 0.01 238.554);
  --popover-foreground: oklch(0.992 0.002 244.108);
  --card: oklch(0.13 0.01 238.554);
  --card-foreground: oklch(0.992 0.002 244.108);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.308 0.046 246.398);
  --primary-foreground: oklch(0.831 0.041 244.711);
  --secondary: oklch(0.363 0.047 192.31);
  --secondary-foreground: oklch(0.876 0.049 193.767);
  --accent: oklch(0.254 0.076 278.046);
  --accent-foreground: oklch(0.783 0.065 283.248);
  --destructive: oklch(0.654 0.189 33.196);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.308 0.046 246.398);
  --chart-1: oklch(0.308 0.046 246.398);
  --chart-2: oklch(0.363 0.047 192.31);
  --chart-3: oklch(0.254 0.076 278.046);
  --chart-4: oklch(0.4 0.053 192.258);
  --chart-5: oklch(0.308 0.049 246.616);
}