Blueee for shadcn/ui

Blueee is a shadcn/ui theme built around a deep indigo primary color (#131c7c) with muted light indigo accents (#b3b6d0). The light mode uses a neutral background (#f8f8fc). Dark mode keeps the deep indigo primary (#131c7c) on a neutral background (#030307).

Color palette

TokenLightDark
Background
#f8f8fcghostwhite
#030307black
Foreground
#02030dblack
#f5f5fawhitesmoke
Card
#f8f8fcghostwhite
#030307black
Card foreground
#02030dblack
#f5f5fawhitesmoke
Popover
#f8f8fcghostwhite
#030307black
Popover foreground
#02030dblack
#f5f5fawhitesmoke
Primary
#131c7cmidnightblue
#131c7cmidnightblue
Primary foreground
#cacef7lightblue
#cacef7lightblue
Secondary
#c9cad9lightgrey
#20212ddarkslategray
Secondary foreground
#2e3042darkslategray
#b4b6casilver
Muted
#eeeff7whitesmoke
#080911black
Muted foreground
#3a3b45darkslategray
#babac5silver
Accent
#b3b6d0lightsteelblue
#292b42darkslategray
Accent foreground
#1f2133darkslategray
#c3c5dalightsteelblue
Destructive
#cc380ffirebrick
#ee4d20orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e9e9eclavender
#1c1c21black
Input
#e9e9eclavender
#1c1c21black
Ring
#131c7cmidnightblue
#131c7cmidnightblue

Contrast

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

Light mode
Text on background19.46:1AAA
Text on card19.46:1AAA
Primary button9.22:1AAA
Secondary button8.00:1AAA
Muted text9.65:1AAA
Accent7.92:1AAA
Destructive5.06:1AA
Dark mode
Text on background18.91:1AAA
Text on card18.91:1AAA
Primary button9.22:1AAA
Secondary button7.98:1AAA
Muted text10.31:1AAA
Accent8.08:1AAA
Destructive3.67:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.004 282.141);
  --foreground: oklch(0.106 0.028 274.042);
  --muted: oklch(0.953 0.011 282.02);
  --muted-foreground: oklch(0.355 0.018 281.319);
  --popover: oklch(0.981 0.004 282.141);
  --popover-foreground: oklch(0.106 0.028 274.042);
  --card: oklch(0.981 0.004 282.141);
  --card-foreground: oklch(0.106 0.028 274.042);
  --border: oklch(0.935 0.005 282.132);
  --input: oklch(0.935 0.005 282.132);
  --primary: oklch(0.303 0.157 268.966);
  --primary-foreground: oklch(0.861 0.057 281.041);
  --secondary: oklch(0.843 0.021 281.789);
  --secondary-foreground: oklch(0.315 0.033 280.267);
  --accent: oklch(0.782 0.038 281.36);
  --accent-foreground: oklch(0.253 0.034 279.673);
  --destructive: oklch(0.561 0.19 34.661);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.303 0.157 268.966);
  --chart-1: oklch(0.303 0.157 268.966);
  --chart-2: oklch(0.843 0.021 281.789);
  --chart-3: oklch(0.782 0.038 281.36);
  --chart-4: oklch(0.87 0.017 281.876);
  --chart-5: oklch(0.302 0.162 268.338);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.103 0.014 278.373);
  --foreground: oklch(0.971 0.007 282.097);
  --muted: oklch(0.144 0.018 279.529);
  --muted-foreground: oklch(0.793 0.015 281.898);
  --popover: oklch(0.103 0.014 278.373);
  --popover-foreground: oklch(0.971 0.007 282.097);
  --card: oklch(0.103 0.014 278.373);
  --card-foreground: oklch(0.971 0.007 282.097);
  --border: oklch(0.229 0.01 281.479);
  --input: oklch(0.229 0.01 281.479);
  --primary: oklch(0.303 0.157 268.966);
  --primary-foreground: oklch(0.861 0.057 281.041);
  --secondary: oklch(0.251 0.023 280.581);
  --secondary-foreground: oklch(0.782 0.028 281.594);
  --accent: oklch(0.299 0.041 279.607);
  --accent-foreground: oklch(0.829 0.028 281.623);
  --destructive: oklch(0.641 0.205 35.343);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.303 0.157 268.966);
  --chart-1: oklch(0.303 0.157 268.966);
  --chart-2: oklch(0.251 0.023 280.581);
  --chart-3: oklch(0.299 0.041 279.607);
  --chart-4: oklch(0.28 0.026 280.489);
  --chart-5: oklch(0.302 0.162 268.338);
}