Interesting for shadcn/ui

Interesting is a shadcn/ui theme built around a vivid deep cyan primary color (#021f2c) with vivid deep blue accents (#020a2c). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep cyan primary (#021f2c) on a cyan-tinted background (#04090b).

Color palette

TokenLightDark
Background
#ffffffwhite
#04090bblack
Foreground
#031017black
#ffffffwhite
Card
#fcfcfcsnow
#060c0eblack
Card foreground
#020d12black
#ffffffwhite
Popover
#ffffffwhite
#04090bblack
Popover foreground
#031017black
#ffffffwhite
Primary
#021f2cblack
#021f2cblack
Primary foreground
#0ca6eddeepskyblue
#0ca6eddeepskyblue
Secondary
#022c24black
#022c24black
Secondary foreground
#0cedc4darkturquoise
#0cedc4darkturquoise
Muted
#eff6f5whitesmoke
#09100fblack
Muted foreground
#3c4946darkslategray
#b6c3c1silver
Accent
#020a2cblack
#020a2cblack
Accent foreground
#cad3fclavender
#cad3fclavender
Destructive
#cf2402firebrick
#fd3008orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#021f2cblack
#021f2cblack

Contrast

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

Light mode
Text on background19.25:1AAA
Text on card19.22:1AAA
Primary button6.25:1AA
Secondary button10.07:1AAA
Muted text8.57:1AAA
Accent13.16:1AAA
Destructive5.37:1AA
Dark mode
Text on background20.02:1AAA
Text on card19.70:1AAA
Primary button6.25:1AA
Secondary button10.07:1AAA
Muted text10.55:1AAA
Accent13.16:1AAA
Destructive3.75:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.165 0.026 226.948);
  --muted: oklch(0.967 0.008 184.089);
  --muted-foreground: oklch(0.393 0.017 183.074);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.165 0.026 226.948);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.15 0.023 224.542);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.223 0.042 231.959);
  --primary-foreground: oklch(0.69 0.152 238.322);
  --secondary: oklch(0.262 0.046 177.218);
  --secondary-foreground: oklch(0.846 0.16 173.91);
  --accent: oklch(0.164 0.07 265.276);
  --accent-foreground: oklch(0.873 0.058 275.199);
  --destructive: oklch(0.55 0.208 31.964);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.223 0.042 231.959);
  --chart-1: oklch(0.223 0.042 231.959);
  --chart-2: oklch(0.262 0.046 177.218);
  --chart-3: oklch(0.164 0.07 265.276);
  --chart-4: oklch(0.313 0.056 176.315);
  --chart-5: oklch(0.224 0.044 232.072);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.134 0.01 222.519);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.167 0.012 182.32);
  --muted-foreground: oklch(0.807 0.015 183.811);
  --popover: oklch(0.134 0.01 222.519);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.148 0.012 225.73);
  --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.223 0.042 231.959);
  --primary-foreground: oklch(0.69 0.152 238.322);
  --secondary: oklch(0.262 0.046 177.218);
  --secondary-foreground: oklch(0.846 0.16 173.91);
  --accent: oklch(0.164 0.07 265.276);
  --accent-foreground: oklch(0.873 0.058 275.199);
  --destructive: oklch(0.64 0.24 31.941);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.223 0.042 231.959);
  --chart-1: oklch(0.223 0.042 231.959);
  --chart-2: oklch(0.262 0.046 177.218);
  --chart-3: oklch(0.164 0.07 265.276);
  --chart-4: oklch(0.313 0.056 176.315);
  --chart-5: oklch(0.224 0.044 232.072);
}