Noted for shadcn/ui

Noted is a shadcn/ui theme built around a muted deep blue primary color (#090a0b) with muted deep indigo accents (#09090b). The light mode uses a neutral background (#fbfcfd). Dark mode keeps the muted deep blue primary (#090a0b) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfcfdwhite
#000000black
Foreground
#000000black
#ffffffwhite
Card
#fbfcfdwhite
#000000black
Card foreground
#000000black
#ffffffwhite
Popover
#fbfcfdwhite
#000000black
Popover foreground
#000000black
#ffffffwhite
Primary
#090a0bblack
#090a0bblack
Primary foreground
#9ca2abdarkgray
#9ca2abdarkgray
Secondary
#090b0bblack
#090b0bblack
Secondary foreground
#9caaabdarkgray
#9caaabdarkgray
Muted
#dee7e7gainsboro
#182021black
Muted foreground
#4e5e5fdimgray
#a0b0b1darkgray
Accent
#09090bblack
#09090bblack
Accent foreground
#9d9cabdarkgray
#9d9cabdarkgray
Destructive
#661505maroon
#f45434tomato
Destructive foreground
#fab1a3lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#090a0bblack
#090a0bblack

Contrast

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

Light mode
Text on background20.50:1AAA
Text on card20.50:1AAA
Primary button7.70:1AAA
Secondary button8.22:1AAA
Muted text5.40:1AA
Accent7.35:1AAA
Destructive7.09:1AAA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button7.70:1AAA
Secondary button8.22:1AAA
Muted text7.38:1AAA
Accent7.35:1AAA
Destructive6.16:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 254.963);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.921 0.009 202.11);
  --muted-foreground: oklch(0.469 0.02 201.813);
  --popover: oklch(0.992 0.002 254.963);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0.002 254.963);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.145 0.002 254.551);
  --primary-foreground: oklch(0.71 0.014 255.053);
  --secondary: oklch(0.147 0.003 202);
  --secondary-foreground: oklch(0.726 0.016 201.996);
  --accent: oklch(0.143 0.004 289.1);
  --accent-foreground: oklch(0.698 0.021 288.899);
  --destructive: oklch(0.336 0.116 33.119);
  --destructive-foreground: oklch(0.827 0.088 31.631);
  --ring: oklch(0.145 0.002 254.551);
  --chart-1: oklch(0.145 0.002 254.551);
  --chart-2: oklch(0.147 0.003 202);
  --chart-3: oklch(0.143 0.004 289.1);
  --chart-4: oklch(0.184 0.004 201.98);
  --chart-5: oklch(0.144 0.003 254.328);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.235 0.012 201.746);
  --muted-foreground: oklch(0.744 0.018 201.968);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.145 0.002 254.551);
  --primary-foreground: oklch(0.71 0.014 255.053);
  --secondary: oklch(0.147 0.003 202);
  --secondary-foreground: oklch(0.726 0.016 201.996);
  --accent: oklch(0.143 0.004 289.1);
  --accent-foreground: oklch(0.698 0.021 288.899);
  --destructive: oklch(0.66 0.202 33.207);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.145 0.002 254.551);
  --chart-1: oklch(0.145 0.002 254.551);
  --chart-2: oklch(0.147 0.003 202);
  --chart-3: oklch(0.143 0.004 289.1);
  --chart-4: oklch(0.184 0.004 201.98);
  --chart-5: oklch(0.144 0.003 254.328);
}