Blue Diamond Amphibian for shadcn/ui

Blue Diamond Amphibian is a shadcn/ui theme built around a vivid blue primary color (#0b66c1) with vivid orange accents (#c1660b). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the vivid blue primary (#0b66c1) on a blue-tinted background (#070a0e).

Color palette

TokenLightDark
Background
#fbfcfewhite
#070a0eblack
Foreground
#040a10black
#f9fafbghostwhite
Card
#f7fafcghostwhite
#090d11black
Card foreground
#03080cblack
#fcfcfdwhite
Popover
#fbfcfewhite
#070a0eblack
Popover foreground
#040a10black
#f9fafbghostwhite
Primary
#0b66c1royalblue
#0b66c1royalblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#c1660bchocolate
#c1660bchocolate
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e6dbd0gainsboro
#2f2419black
Muted foreground
#59524adarkolivegreen
#b5ada6darkgray
Accent
#c1660bchocolate
#c1660bchocolate
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#71110amaroon
#ed392ccrimson
Destructive foreground
#f8b8b4lightpink
#ffffffwhite
Border
#ebedeflavender
#22262adarkslategray
Input
#ebedeflavender
#22262adarkslategray
Ring
#0b66c1royalblue
#0b66c1royalblue

Contrast

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

Light mode
Text on background19.42:1AAA
Text on card19.19:1AAA
Primary button5.70:1AA
Secondary button4.06:1AA Large
Muted text5.65:1AA
Accent4.06:1AA Large
Destructive7.02:1AAA
Dark mode
Text on background18.97:1AAA
Text on card19.04:1AAA
Primary button5.70:1AA
Secondary button4.06:1AA Large
Muted text6.86:1AA
Accent4.06:1AA Large
Destructive4.03:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 247.844);
  --foreground: oklch(0.142 0.017 243.724);
  --muted: oklch(0.898 0.019 67.579);
  --muted-foreground: oklch(0.442 0.015 67.416);
  --popover: oklch(0.992 0.002 247.844);
  --popover-foreground: oklch(0.142 0.017 243.724);
  --card: oklch(0.984 0.004 247.867);
  --card-foreground: oklch(0.128 0.015 240.271);
  --border: oklch(0.946 0.003 247.859);
  --input: oklch(0.946 0.003 247.859);
  --primary: oklch(0.515 0.161 254.576);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.604 0.145 55.926);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.604 0.145 55.926);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.355 0.13 29.458);
  --destructive-foreground: oklch(0.842 0.075 23.421);
  --ring: oklch(0.515 0.161 254.576);
  --chart-1: oklch(0.515 0.161 254.576);
  --chart-2: oklch(0.604 0.145 55.926);
  --chart-3: oklch(0.604 0.145 55.926);
  --chart-4: oklch(0.637 0.153 55.745);
  --chart-5: oklch(0.517 0.166 254.953);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.143 0.01 245.811);
  --foreground: oklch(0.984 0.002 247.844);
  --muted: oklch(0.269 0.026 66.373);
  --muted-foreground: oklch(0.753 0.013 67.622);
  --popover: oklch(0.143 0.01 245.811);
  --popover-foreground: oklch(0.984 0.002 247.844);
  --card: oklch(0.155 0.011 248.155);
  --card-foreground: oklch(0.992 0.001 247.833);
  --border: oklch(0.267 0.01 248.199);
  --input: oklch(0.267 0.01 248.199);
  --primary: oklch(0.515 0.161 254.576);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.604 0.145 55.926);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.604 0.145 55.926);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.62 0.217 29.093);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.515 0.161 254.576);
  --chart-1: oklch(0.515 0.161 254.576);
  --chart-2: oklch(0.604 0.145 55.926);
  --chart-3: oklch(0.604 0.145 55.926);
  --chart-4: oklch(0.637 0.153 55.745);
  --chart-5: oklch(0.517 0.166 254.953);
}