Joint Neon Blue for shadcn/ui

Joint Neon Blue is a shadcn/ui theme built around a vivid cyan primary color (#00d4ff) with vivid blue accents (#0055ff). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid cyan primary (#00d4ff) on a neutral background (#020304).

Color palette

TokenLightDark
Background
#ffffffwhite
#020304black
Foreground
#020708black
#ffffffwhite
Card
#ffffffwhite
#020304black
Card foreground
#020708black
#ffffffwhite
Popover
#ffffffwhite
#020304black
Popover foreground
#020708black
#ffffffwhite
Primary
#00d4ffdeepskyblue
#00d4ffdeepskyblue
Primary foreground
#002a33darkslategray
#002a33darkslategray
Secondary
#00ffaamediumspringgreen
#00ffaamediumspringgreen
Secondary foreground
#003322darkgreen
#003322darkgreen
Muted
#ebefeewhitesmoke
#101413black
Muted foreground
#556d65dimgray
#92aaa2darkgray
Accent
#0055ffdodgerblue
#0055ffdodgerblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#8e2401darkred
#fe5720orangered
Destructive foreground
#ffd1c2peachpuff
#000000black
Border
#eff0f1whitesmoke
#1f2223black
Input
#eff0f1whitesmoke
#1f2223black
Ring
#00d4ffdeepskyblue
#00d4ffdeepskyblue

Contrast

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

Light mode
Text on background20.26:1AAA
Text on card20.26:1AAA
Primary button8.63:1AAA
Secondary button10.61:1AAA
Muted text4.82:1AA
Accent5.60:1AA
Destructive6.29:1AA
Dark mode
Text on background20.63:1AAA
Text on card20.63:1AAA
Primary button8.63:1AAA
Secondary button10.61:1AAA
Muted text7.50:1AAA
Accent5.60:1AA
Destructive6.60:1AA

CSS variables

Paste this into your globals.css to use Joint Neon Blue in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.121 0.012 207.641);
  --muted: oklch(0.95 0.005 174.423);
  --muted-foreground: oklch(0.512 0.03 172.738);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.121 0.012 207.641);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.121 0.012 207.641);
  --border: oklch(0.955 0.002 211.043);
  --input: oklch(0.955 0.002 211.043);
  --primary: oklch(0.805 0.146 219.215);
  --primary-foreground: oklch(0.264 0.047 214.791);
  --secondary: oklch(0.882 0.199 160.135);
  --secondary-foreground: oklch(0.284 0.06 164.458);
  --accent: oklch(0.533 0.26 262.636);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.429 0.147 35.882);
  --destructive-foreground: oklch(0.897 0.056 39.259);
  --ring: oklch(0.805 0.146 219.215);
  --chart-1: oklch(0.805 0.146 219.215);
  --chart-2: oklch(0.882 0.199 160.135);
  --chart-3: oklch(0.533 0.26 262.636);
  --chart-4: oklch(0.884 0.194 161.412);
  --chart-5: oklch(0.813 0.148 219.56);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.095 0.007 208.289);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.186 0.008 173.299);
  --muted-foreground: oklch(0.717 0.028 173.391);
  --popover: oklch(0.095 0.007 208.289);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.095 0.007 208.289);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.251 0.005 211.043);
  --input: oklch(0.251 0.005 211.043);
  --primary: oklch(0.805 0.146 219.215);
  --primary-foreground: oklch(0.264 0.047 214.791);
  --secondary: oklch(0.882 0.199 160.135);
  --secondary-foreground: oklch(0.284 0.06 164.458);
  --accent: oklch(0.533 0.26 262.636);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.678 0.212 36.981);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.805 0.146 219.215);
  --chart-1: oklch(0.805 0.146 219.215);
  --chart-2: oklch(0.882 0.199 160.135);
  --chart-3: oklch(0.533 0.26 262.636);
  --chart-4: oklch(0.884 0.194 161.412);
  --chart-5: oklch(0.813 0.148 219.56);
}