Nord Deep for shadcn/ui

Nord Deep is a shadcn/ui theme built around a muted light blue primary color (#d8dee9) with muted deep blue accents (#3d4657). The light mode uses a blue-tinted background (#1e222a). Dark mode keeps the muted light blue primary (#d8dee9) on a blue-tinted background (#1e222a).

Color palette

TokenLightDark
Background
#1e222adarkslategray
#1e222adarkslategray
Foreground
#d8dee9gainsboro
#d8dee9gainsboro
Card
#191d24black
#191d24black
Card foreground
#e8ecf2lavender
#e8ecf2lavender
Popover
#171a21black
#171a21black
Popover foreground
#f8f9fbghostwhite
#f8f9fbghostwhite
Primary
#d8dee9gainsboro
#d8dee9gainsboro
Primary foreground
#33415bdarkslategray
#33415bdarkslategray
Secondary
#343c4bdarkslategray
#343c4bdarkslategray
Secondary foreground
#d2d7e0gainsboro
#d2d7e0gainsboro
Muted
#282c33darkslategray
#282c33darkslategray
Muted foreground
#a4aab7darkgray
#a4aab7darkgray
Accent
#3d4657darkslategray
#3d4657darkslategray
Accent foreground
#dee1e8gainsboro
#dee1e8gainsboro
Destructive
#f73518orangered
#f73518orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#2d2f34darkslategray
#2d2f34darkslategray
Input
#34373cdarkslategray
#34373cdarkslategray
Ring
#d8dee9gainsboro
#d8dee9gainsboro

Contrast

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

Light mode
Text on background11.84:1AAA
Text on card14.26:1AAA
Primary button7.57:1AAA
Secondary button7.64:1AAA
Muted text6.00:1AA
Accent7.26:1AAA
Destructive3.83:1AA Large
Dark mode
Text on background11.84:1AAA
Text on card14.26:1AAA
Primary button7.57:1AAA
Secondary button7.64:1AAA
Muted text6.00:1AA
Accent7.26:1AAA
Destructive3.83:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.25 0.017 264.215);
  --foreground: oklch(0.899 0.017 263.013);
  --muted: oklch(0.293 0.014 264.324);
  --muted-foreground: oklch(0.737 0.02 264.444);
  --popover: oklch(0.219 0.013 264.248);
  --popover-foreground: oklch(0.983 0.003 263.049);
  --card: oklch(0.23 0.014 264.236);
  --card-foreground: oklch(0.941 0.01 263.034);
  --border: oklch(0.306 0.009 264.438);
  --input: oklch(0.335 0.01 264.434);
  --primary: oklch(0.899 0.017 263.013);
  --primary-foreground: oklch(0.376 0.048 262.419);
  --secondary: oklch(0.356 0.028 262.736);
  --secondary-foreground: oklch(0.877 0.013 263.022);
  --accent: oklch(0.393 0.031 264.131);
  --accent-foreground: oklch(0.91 0.009 264.517);
  --destructive: oklch(0.634 0.231 31.513);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.899 0.017 263.013);
  --chart-1: oklch(0.899 0.017 263.013);
  --chart-2: oklch(0.356 0.028 262.736);
  --chart-3: oklch(0.393 0.031 264.131);
  --chart-4: oklch(0.384 0.031 262.727);
  --chart-5: oklch(0.898 0.018 263.007);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.25 0.017 264.215);
  --foreground: oklch(0.899 0.017 263.013);
  --muted: oklch(0.293 0.014 264.324);
  --muted-foreground: oklch(0.737 0.02 264.444);
  --popover: oklch(0.219 0.013 264.248);
  --popover-foreground: oklch(0.983 0.003 263.049);
  --card: oklch(0.23 0.014 264.236);
  --card-foreground: oklch(0.941 0.01 263.034);
  --border: oklch(0.306 0.009 264.438);
  --input: oklch(0.335 0.01 264.434);
  --primary: oklch(0.899 0.017 263.013);
  --primary-foreground: oklch(0.376 0.048 262.419);
  --secondary: oklch(0.356 0.028 262.736);
  --secondary-foreground: oklch(0.877 0.013 263.022);
  --accent: oklch(0.393 0.031 264.131);
  --accent-foreground: oklch(0.91 0.009 264.517);
  --destructive: oklch(0.634 0.231 31.513);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.899 0.017 263.013);
  --chart-1: oklch(0.899 0.017 263.013);
  --chart-2: oklch(0.356 0.028 262.736);
  --chart-3: oklch(0.393 0.031 264.131);
  --chart-4: oklch(0.384 0.031 262.727);
  --chart-5: oklch(0.898 0.018 263.007);
}