Noisy for shadcn/ui

Noisy is a shadcn/ui theme built around a deep blue primary color (#0e1c3a) with muted light blue accents (#d0d4dd). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep blue primary (#0e1c3a) on a neutral background (#030408).

Color palette

TokenLightDark
Background
#ffffffwhite
#030408black
Foreground
#020408black
#fcfcfdwhite
Card
#ffffffwhite
#030408black
Card foreground
#020408black
#fcfcfdwhite
Popover
#ffffffwhite
#030408black
Popover foreground
#020408black
#fcfcfdwhite
Primary
#0e1c3amidnightblue
#0e1c3amidnightblue
Primary foreground
#94aee6skyblue
#94aee6skyblue
Secondary
#d0d4ddlightgrey
#232529darkslategray
Secondary foreground
#333a47darkslategray
#babdc4silver
Muted
#dbe0ebgainsboro
#141924black
Muted foreground
#3f434adarkslategray
#b5b8c0silver
Accent
#d0d4ddlightgrey
#232529darkslategray
Accent foreground
#333a47darkslategray
#babdc4silver
Destructive
#ba0d0dfirebrick
#ef1515red
Destructive foreground
#fffafasnow
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0e1c3amidnightblue
#0e1c3amidnightblue

Contrast

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

Light mode
Text on background20.51:1AAA
Text on card20.51:1AAA
Primary button7.62:1AAA
Secondary button7.68:1AAA
Muted text7.50:1AAA
Accent7.68:1AAA
Destructive6.44:1AA
Dark mode
Text on background19.98:1AAA
Text on card19.98:1AAA
Primary button7.62:1AAA
Secondary button8.14:1AAA
Muted text8.86:1AAA
Accent8.14:1AAA
Destructive4.39:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.106 0.015 257.597);
  --muted: oklch(0.906 0.017 265.915);
  --muted-foreground: oklch(0.382 0.014 265.809);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.106 0.015 257.597);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.106 0.015 257.597);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.231 0.062 263.603);
  --primary-foreground: oklch(0.751 0.086 265.137);
  --secondary: oklch(0.869 0.013 265.934);
  --secondary-foreground: oklch(0.347 0.025 265.533);
  --accent: oklch(0.869 0.013 265.934);
  --accent-foreground: oklch(0.347 0.025 265.533);
  --destructive: oklch(0.5 0.199 28.595);
  --destructive-foreground: oklch(0.989 0.005 17.237);
  --ring: oklch(0.231 0.062 263.603);
  --chart-1: oklch(0.231 0.062 263.603);
  --chart-2: oklch(0.869 0.013 265.934);
  --chart-3: oklch(0.869 0.013 265.934);
  --chart-4: oklch(0.894 0.011 265.951);
  --chart-5: oklch(0.231 0.064 263.481);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.108 0.012 259.277);
  --foreground: oklch(0.992 0.001 266);
  --muted: oklch(0.214 0.024 265.154);
  --muted-foreground: oklch(0.783 0.011 265.937);
  --popover: oklch(0.108 0.012 259.277);
  --popover-foreground: oklch(0.992 0.001 266);
  --card: oklch(0.108 0.012 259.277);
  --card-foreground: oklch(0.992 0.001 266);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.231 0.062 263.603);
  --primary-foreground: oklch(0.751 0.086 265.137);
  --secondary: oklch(0.265 0.008 265.838);
  --secondary-foreground: oklch(0.799 0.01 265.945);
  --accent: oklch(0.265 0.008 265.838);
  --accent-foreground: oklch(0.799 0.01 265.945);
  --destructive: oklch(0.603 0.24 28.538);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.231 0.062 263.603);
  --chart-1: oklch(0.231 0.062 263.603);
  --chart-2: oklch(0.265 0.008 265.838);
  --chart-3: oklch(0.265 0.008 265.838);
  --chart-4: oklch(0.295 0.01 265.828);
  --chart-5: oklch(0.231 0.064 263.481);
}