Liberal Aquarius Mood Indigo for shadcn/ui

Liberal Aquarius Mood Indigo is a shadcn/ui theme built around a vivid blue primary color (#0222c7) with neutral gray accents (#dfdfdf). The light mode uses a neutral background (#ecedee). Dark mode keeps the vivid blue primary (#3d5bf5) on a blue-tinted background (#08090a).

Color palette

TokenLightDark
Background
#ecedeewhitesmoke
#08090ablack
Foreground
#262626darkslategray
#e6e6e6gainsboro
Card
#f8f8f9whitesmoke
#131314black
Card foreground
#262626darkslategray
#f7f6f9whitesmoke
Popover
#f4f4f4whitesmoke
#19191ablack
Popover foreground
#262626darkslategray
#f7f6f9whitesmoke
Primary
#0222c7mediumblue
#3d5bf5royalblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e1e6fflavender
#333333darkslategray
Secondary foreground
#0222c7mediumblue
#6d84f8cornflowerblue
Muted
#e0e1e1gainsboro
#333333darkslategray
Muted foreground
#737373dimgray
#a0a0a0darkgray
Accent
#dfdfdfgainsboro
#363637darkslategray
Accent foreground
#262626darkslategray
#a0a0a0darkgray
Destructive
#dc2626crimson
#ef4444tomato
Destructive foreground
#fef2f2lavenderblush
#ffffffwhite
Border
#e5e5e5gainsboro
#1e1e1eblack
Input
#dcdcdcgainsboro
#2f2f2fdarkslategray
Ring
#08090ablack
#f4f4f4whitesmoke

Contrast

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

Light mode
Text on background12.90:1AAA
Text on card14.25:1AAA
Primary button10.21:1AAA
Secondary button8.25:1AAA
Muted text3.61:1AA Large
Accent11.35:1AAA
Destructive4.41:1AA Large
Dark mode
Text on background15.96:1AAA
Text on card17.24:1AAA
Primary button5.23:1AA
Secondary button3.79:1AA Large
Muted text4.83:1AA
Accent4.61:1AA
Destructive3.76:1AA Large

CSS variables

Paste this into your globals.css to use Liberal Aquarius Mood Indigo in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.946 0.002 247.84);
  --foreground: oklch(0.269 0 180);
  --muted: oklch(0.909 0.001 197.139);
  --muted-foreground: oklch(0.556 0 180);
  --popover: oklch(0.967 0 180);
  --popover-foreground: oklch(0.269 0 180);
  --card: oklch(0.979 0.001 286.375);
  --card-foreground: oklch(0.269 0 180);
  --border: oklch(0.922 0 168.69);
  --input: oklch(0.894 0 180);
  --primary: oklch(0.399 0.244 264.369);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.929 0.034 276.722);
  --secondary-foreground: oklch(0.399 0.244 264.369);
  --accent: oklch(0.904 0 158.199);
  --accent-foreground: oklch(0.269 0 180);
  --destructive: oklch(0.577 0.215 27.324);
  --destructive-foreground: oklch(0.97 0.013 17.38);
  --ring: oklch(0.139 0.003 246.256);
  --chart-1: oklch(0.712 0.171 151.102);
  --chart-2: oklch(0.528 0.194 262.447);
  --chart-3: oklch(0.618 0.204 312.834);
  --chart-4: oklch(0.612 0.209 6.142);
  --chart-5: oklch(0.824 0.155 75.273);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.003 246.256);
  --foreground: oklch(0.925 0 180);
  --muted: oklch(0.321 0 180);
  --muted-foreground: oklch(0.706 0 180);
  --popover: oklch(0.214 0.002 286.235);
  --popover-foreground: oklch(0.975 0.004 301.425);
  --card: oklch(0.187 0.002 286.205);
  --card-foreground: oklch(0.975 0.004 301.425);
  --border: oklch(0.235 0 180);
  --input: oklch(0.305 0 180);
  --primary: oklch(0.548 0.231 268.68);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.321 0 180);
  --secondary-foreground: oklch(0.652 0.173 272.472);
  --accent: oklch(0.333 0.002 286.305);
  --accent-foreground: oklch(0.706 0 180);
  --destructive: oklch(0.637 0.208 25.33);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.967 0 180);
  --chart-1: oklch(0.758 0.161 152.699);
  --chart-2: oklch(0.528 0.194 262.447);
  --chart-3: oklch(0.618 0.204 312.834);
  --chart-4: oklch(0.612 0.209 6.142);
  --chart-5: oklch(0.824 0.155 75.273);
}