Blue uwuw for shadcn/ui

Blue uwuw is a shadcn/ui theme built around a teal primary color (#68c4c6) with vivid light blue accents (#dbf1ff). The light mode uses a neutral background (#ffffff). Dark mode switches to a deep blue primary (#1d384b) on a blue-tinted background (#0a131c).

Color palette

TokenLightDark
Background
#ffffffwhite
#0a131cblack
Foreground
#030c11black
#fcfdfdwhite
Card
#ffffffwhite
#000910black
Card foreground
#02090dblack
#ffffffwhite
Popover
#f7fbfdghostwhite
#060b0fblack
Popover foreground
#030c11black
#fcfdfdwhite
Primary
#68c4c6mediumaquamarine
#1d384bdarkslategray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#bfe5b3silver
#2d2e2fdarkslategray
Secondary foreground
#4b5154darkslategray
#c5c7c9silver
Muted
#dde4e9gainsboro
#161d22black
Muted foreground
#576975dimgray
#8a9ca8lightslategray
Accent
#dbf1fflightcyan
#26292bdarkslategray
Accent foreground
#333c42darkslategray
#dee1e3gainsboro
Destructive
#ff4e4etomato
#a11717firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#57b1bacadetblue
#a15206saddlebrown

Contrast

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

Light mode
Text on background19.72:1AAA
Text on card20.04:1AAA
Primary button2.03:1Fail
Secondary button5.80:1AA
Muted text4.44:1AA Large
Accent9.65:1AAA
Destructive3.25:1AA Large
Dark mode
Text on background18.35:1AAA
Text on card20.03:1AAA
Primary button12.21:1AAA
Secondary button8.02:1AAA
Muted text5.99:1AA
Accent11.14:1AAA
Destructive7.92:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.146 0.02 233.205);
  --muted: oklch(0.915 0.01 236.592);
  --muted-foreground: oklch(0.51 0.029 237.354);
  --popover: oklch(0.985 0.005 236.509);
  --popover-foreground: oklch(0.146 0.02 233.205);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.132 0.017 229.205);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.766 0.088 197.114);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.883 0.079 138.653);
  --secondary-foreground: oklch(0.43 0.009 236.757);
  --accent: oklch(0.946 0.03 236.907);
  --accent-foreground: oklch(0.351 0.016 237.149);
  --destructive: oklch(0.674 0.213 24.941);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.709 0.086 204.444);
  --chart-1: oklch(0.766 0.088 197.114);
  --chart-2: oklch(0.883 0.079 138.653);
  --chart-3: oklch(0.946 0.03 236.907);
  --chart-4: oklch(0.9 0.067 138.634);
  --chart-5: oklch(0.772 0.092 197.075);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.183 0.023 249.19);
  --foreground: oklch(0.992 0.001 236.454);
  --muted: oklch(0.227 0.014 237.418);
  --muted-foreground: oklch(0.683 0.028 237.051);
  --popover: oklch(0.145 0.012 234.661);
  --popover-foreground: oklch(0.992 0.001 236.454);
  --card: oklch(0.133 0.026 227.791);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.328 0.047 240.91);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.301 0.003 236.583);
  --secondary-foreground: oklch(0.829 0.003 236.486);
  --accent: oklch(0.279 0.006 236.752);
  --accent-foreground: oklch(0.908 0.005 236.509);
  --destructive: oklch(0.456 0.171 27.481);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.525 0.128 54.713);
  --chart-1: oklch(0.328 0.047 240.91);
  --chart-2: oklch(0.301 0.003 236.583);
  --chart-3: oklch(0.279 0.006 236.752);
  --chart-4: oklch(0.331 0.004 236.588);
  --chart-5: oklch(0.329 0.05 241.196);
}