Key Agressive Aqua for shadcn/ui

Key Agressive Aqua is a shadcn/ui theme built around a vivid blue primary color (#3d61ff) with muted light blue accents (#ced2e3). The light mode uses a neutral background (#ffffff). Dark mode switches to a vivid teal primary (#00faff) on a neutral background (#02040a).

Color palette

TokenLightDark
Background
#ffffffwhite
#02040ablack
Foreground
#040611black
#fcfcfdwhite
Card
#fcfcfcsnow
#02040ablack
Card foreground
#03050cblack
#ffffffwhite
Popover
#fcfcfcsnow
#080912black
Popover foreground
#03050cblack
#ffffffwhite
Primary
#3d61ffroyalblue
#00faffaqua
Primary foreground
#ffffffwhite
#000000black
Secondary
#e0e2ebgainsboro
#3d3d3ddarkslategray
Secondary foreground
#3d435cdarkslategray
#f0f0f0whitesmoke
Muted
#d7d9e0gainsboro
#212539darkslategray
Muted foreground
#555868dimgray
#f6ffffmintcream
Accent
#ced2e3lightgrey
#212535darkslategray
Accent foreground
#2e3452darkslategray
#b7bcd2lightsteelblue
Destructive
#ff0d00red
#f22c21crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#3d61ffroyalblue
#00ffffcyan

Contrast

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

Light mode
Text on background20.20:1AAA
Text on card19.93:1AAA
Primary button4.83:1AA
Secondary button7.55:1AAA
Muted text4.97:1AA
Accent8.07:1AAA
Destructive3.95:1AA Large
Dark mode
Text on background19.99:1AAA
Text on card20.50:1AAA
Primary button16.11:1AAA
Secondary button9.59:1AAA
Muted text14.88:1AAA
Accent8.05:1AAA
Destructive4.07:1AA Large

CSS variables

Paste this into your globals.css to use Key Agressive Aqua in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.126 0.026 268.939);
  --muted: oklch(0.885 0.01 276.021);
  --muted-foreground: oklch(0.464 0.025 275.387);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.114 0.022 268.251);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.114 0.022 268.251);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.567 0.237 267.896);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.915 0.011 276);
  --secondary-foreground: oklch(0.388 0.043 274.435);
  --accent: oklch(0.866 0.024 275.781);
  --accent-foreground: oklch(0.335 0.052 273.604);
  --destructive: oklch(0.63 0.256 29.629);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.567 0.237 267.896);
  --chart-1: oklch(0.567 0.237 267.896);
  --chart-2: oklch(0.915 0.011 276);
  --chart-3: oklch(0.866 0.024 275.781);
  --chart-4: oklch(0.94 0.008 276.055);
  --chart-5: oklch(0.565 0.244 267.612);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.107 0.019 262.026);
  --foreground: oklch(0.991 0.001 276.148);
  --muted: oklch(0.27 0.038 274.924);
  --muted-foreground: oklch(0.993 0.009 197.005);
  --popover: oklch(0.144 0.019 273.129);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.107 0.019 262.026);
  --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.894 0.152 197.381);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.358 0 17.175);
  --secondary-foreground: oklch(0.955 0 180);
  --accent: oklch(0.269 0.031 274.373);
  --accent-foreground: oklch(0.798 0.032 275.616);
  --destructive: oklch(0.62 0.232 29.041);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.905 0.155 194.769);
  --chart-1: oklch(0.894 0.152 197.381);
  --chart-2: oklch(0.358 0 17.175);
  --chart-3: oklch(0.269 0.031 274.373);
  --chart-4: oklch(0.388 0 17.175);
  --chart-5: oklch(0.903 0.154 197.415);
}