Night in Manchester Turtle for shadcn/ui

Night in Manchester Turtle is a shadcn/ui theme built around a blue primary color (#3049bb) with muted light blue accents (#c5cadd). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the blue primary (#3049bb) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfcfewhite
#000000black
Foreground
#030717black
#f6f6f9whitesmoke
Card
#f7f8fdghostwhite
#030303black
Card foreground
#020512black
#f9f9fbghostwhite
Popover
#fbfcfewhite
#000000black
Popover foreground
#030717black
#f6f6f9whitesmoke
Primary
#3049bbroyalblue
#3049bbroyalblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e4e5eclavender
#191b24black
Secondary foreground
#40465edarkslategray
#abb0c4silver
Muted
#cad0e7lightgrey
#181d35midnightblue
Muted foreground
#5a5e72dimgray
#8d91a5lightslategray
Accent
#c5caddlightgrey
#25293cdarkslategray
Accent foreground
#2a2f47darkslategray
#bdc1d6lightsteelblue
Destructive
#7f2201maroon
#fe5416orangered
Destructive foreground
#ffc7b3peachpuff
#ffffffwhite
Border
#e4e5e7gainsboro
#1d1e20black
Input
#e4e5e7gainsboro
#1d1e20black
Ring
#3049bbroyalblue
#3049bbroyalblue

Contrast

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

Light mode
Text on background19.49:1AAA
Text on card19.19:1AAA
Primary button7.48:1AAA
Secondary button7.42:1AAA
Muted text4.16:1AA Large
Accent8.03:1AAA
Destructive6.59:1AA
Dark mode
Text on background19.46:1AAA
Text on card19.66:1AAA
Primary button7.48:1AAA
Secondary button7.93:1AAA
Muted text5.31:1AA
Accent8.04:1AAA
Destructive3.24:1AA Large

CSS variables

Paste this into your globals.css to use Night in Manchester Turtle in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 276.126);
  --foreground: oklch(0.132 0.038 266.834);
  --muted: oklch(0.859 0.033 275.627);
  --muted-foreground: oklch(0.486 0.033 275.191);
  --popover: oklch(0.99 0.003 276.126);
  --popover-foreground: oklch(0.132 0.038 266.834);
  --card: oklch(0.98 0.006 276.086);
  --card-foreground: oklch(0.121 0.032 266.119);
  --border: oklch(0.921 0.003 276.125);
  --input: oklch(0.921 0.003 276.125);
  --primary: oklch(0.46 0.18 268.518);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.924 0.01 276.027);
  --secondary-foreground: oklch(0.398 0.042 274.532);
  --accent: oklch(0.84 0.028 275.716);
  --accent-foreground: oklch(0.311 0.044 273.911);
  --destructive: oklch(0.399 0.133 37.091);
  --destructive-foreground: oklch(0.874 0.07 40.905);
  --ring: oklch(0.46 0.18 268.518);
  --chart-1: oklch(0.46 0.18 268.518);
  --chart-2: oklch(0.924 0.01 276.027);
  --chart-3: oklch(0.84 0.028 275.716);
  --chart-4: oklch(0.949 0.006 276.077);
  --chart-5: oklch(0.458 0.188 268.052);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.975 0.003 276.12);
  --muted: oklch(0.239 0.046 272.866);
  --muted-foreground: oklch(0.66 0.03 275.526);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.975 0.003 276.12);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.983 0.002 276.136);
  --border: oklch(0.234 0.005 275.888);
  --input: oklch(0.234 0.005 275.888);
  --primary: oklch(0.46 0.18 268.518);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.225 0.017 275.068);
  --secondary-foreground: oklch(0.76 0.029 275.642);
  --accent: oklch(0.286 0.035 274.21);
  --accent-foreground: oklch(0.815 0.03 275.658);
  --destructive: oklch(0.673 0.216 37.168);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.46 0.18 268.518);
  --chart-1: oklch(0.46 0.18 268.518);
  --chart-2: oklch(0.225 0.017 275.068);
  --chart-3: oklch(0.286 0.035 274.21);
  --chart-4: oklch(0.255 0.02 274.979);
  --chart-5: oklch(0.458 0.188 268.052);
}