light blue theme for shadcn/ui

light blue theme is a shadcn/ui theme built around a vivid purple primary color (#e015ef) with vivid green accents (#24ef15). The light mode uses a neutral background (#fdfbfd). Dark mode switches to a vivid cyan primary (#0eb7da) on an indigo-tinted background (#01021f).

Color palette

TokenLightDark
Background
#fdfbfdsnow
#01021fblack
Foreground
#150416black
#00fff1aqua
Card
#fcf8fcsnow
#000723black
Card foreground
#100311black
#42a4b2steelblue
Popover
#fcf8fcsnow
#000635black
Popover foreground
#100311black
#00faffaqua
Primary
#e015efmagenta
#0eb7dadarkturquoise
Primary foreground
#ffffffwhite
#000000black
Secondary
#24ef15lime
#00faffaqua
Secondary foreground
#073404darkgreen
#000000black
Muted
#d8e4d8gainsboro
#000000black
Muted foreground
#3c4f3bdarkslategray
#dededegainsboro
Accent
#24ef15lime
#17a8belightseagreen
Accent foreground
#073404darkgreen
#000000black
Destructive
#c35113chocolate
#ed1010red
Destructive foreground
#ffffffwhite
#121111black
Border
#ebeaeclavender
#000000black
Input
#ebeaeclavender
#09a2calightseagreen
Ring
#e015efmagenta
#30ed30limegreen

Contrast

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

Light mode
Text on background19.29:1AAA
Text on card19.12:1AAA
Primary button3.79:1AA Large
Secondary button8.92:1AAA
Muted text6.75:1AA
Accent8.92:1AAA
Destructive4.66:1AA
Dark mode
Text on background16.11:1AAA
Text on card6.81:1AA
Primary button8.81:1AAA
Secondary button16.14:1AAA
Muted text15.60:1AAA
Accent7.40:1AAA
Destructive4.21:1AA Large

CSS variables

Paste this into your globals.css to use light blue theme in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 323.653);
  --foreground: oklch(0.149 0.048 325.225);
  --muted: oklch(0.907 0.021 143.513);
  --muted-foreground: oklch(0.406 0.042 143.078);
  --popover: oklch(0.983 0.007 323.67);
  --popover-foreground: oklch(0.136 0.042 325.348);
  --card: oklch(0.983 0.007 323.67);
  --card-foreground: oklch(0.136 0.042 325.348);
  --border: oklch(0.938 0.003 323.654);
  --input: oklch(0.938 0.003 323.654);
  --primary: oklch(0.65 0.297 324.879);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.827 0.275 142.217);
  --secondary-foreground: oklch(0.286 0.09 141.84);
  --accent: oklch(0.827 0.275 142.217);
  --accent-foreground: oklch(0.286 0.09 141.84);
  --destructive: oklch(0.575 0.161 43.396);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.65 0.297 324.879);
  --chart-1: oklch(0.65 0.297 324.879);
  --chart-2: oklch(0.827 0.275 142.217);
  --chart-3: oklch(0.827 0.275 142.217);
  --chart-4: oklch(0.832 0.27 142.156);
  --chart-5: oklch(0.656 0.301 324.836);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.119 0.069 266.189);
  --foreground: oklch(0.901 0.157 187.501);
  --muted: oklch(0 0 0);
  --muted-foreground: oklch(0.9 0 180);
  --popover: oklch(0.165 0.092 263.823);
  --popover-foreground: oklch(0.894 0.152 197.268);
  --card: oklch(0.142 0.064 261.49);
  --card-foreground: oklch(0.666 0.092 209.029);
  --border: oklch(0 0 0);
  --input: oklch(0.662 0.123 223.877);
  --primary: oklch(0.721 0.128 218.046);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.894 0.152 197.268);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.673 0.113 211.595);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.598 0.24 28.764);
  --destructive-foreground: oklch(0.178 0.001 17.264);
  --ring: oklch(0.826 0.263 142.726);
  --chart-1: oklch(0.721 0.128 218.046);
  --chart-2: oklch(0.894 0.152 197.268);
  --chart-3: oklch(0.673 0.113 211.595);
  --chart-4: oklch(0.895 0.151 197.146);
  --chart-5: oklch(0.727 0.13 218.425);
}