Dark Galaxy Parakeet for shadcn/ui

Dark Galaxy Parakeet is a shadcn/ui theme built around a vivid blue primary color (#051c9e) with vivid violet accents (#3b059e). The light mode uses a neutral background (#f7f8fd). Dark mode keeps the vivid blue primary (#051c9e) on a blue-tinted background (#06070f).

Color palette

TokenLightDark
Background
#f7f8fdghostwhite
#06070fblack
Foreground
#050715black
#fcfcfdwhite
Card
#f7f8fdghostwhite
#06070fblack
Card foreground
#050715black
#fcfcfdwhite
Popover
#f7f8fdghostwhite
#06070fblack
Popover foreground
#050715black
#fcfcfdwhite
Primary
#051c9edarkblue
#051c9edarkblue
Primary foreground
#d7ddfelavender
#d7ddfelavender
Secondary
#05699eteal
#05699eteal
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e8ebedlavender
#121517black
Muted foreground
#434f56darkslategray
#a9b5bcdarkgray
Accent
#3b059eindigo
#3b059eindigo
Accent foreground
#e5d7felavender
#e5d7felavender
Destructive
#a63407saddlebrown
#f66931tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e3e4e8gainsboro
#191a1fblack
Input
#e3e4e8gainsboro
#191a1fblack
Ring
#051c9edarkblue
#051c9edarkblue

Contrast

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

Light mode
Text on background18.89:1AAA
Text on card18.89:1AAA
Primary button9.39:1AAA
Secondary button5.98:1AA
Muted text7.05:1AAA
Accent9.10:1AAA
Destructive6.71:1AA
Dark mode
Text on background19.61:1AAA
Text on card19.61:1AAA
Primary button9.39:1AAA
Secondary button5.98:1AA
Muted text8.74:1AAA
Accent9.10:1AAA
Destructive7.00:1AAA

CSS variables

Paste this into your globals.css to use Dark Galaxy Parakeet in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.98 0.006 278.223);
  --foreground: oklch(0.135 0.031 271.636);
  --muted: oklch(0.939 0.004 230.72);
  --muted-foreground: oklch(0.421 0.02 231.408);
  --popover: oklch(0.98 0.006 278.223);
  --popover-foreground: oklch(0.135 0.031 271.636);
  --card: oklch(0.98 0.006 278.223);
  --card-foreground: oklch(0.135 0.031 271.636);
  --border: oklch(0.919 0.006 278.225);
  --input: oklch(0.919 0.006 278.225);
  --primary: oklch(0.341 0.203 264.904);
  --primary-foreground: oklch(0.904 0.045 277.546);
  --secondary: oklch(0.498 0.116 241.904);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.354 0.204 284.271);
  --accent-foreground: oklch(0.903 0.054 301.278);
  --destructive: oklch(0.491 0.157 37.741);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.341 0.203 264.904);
  --chart-1: oklch(0.341 0.203 264.904);
  --chart-2: oklch(0.498 0.116 241.904);
  --chart-3: oklch(0.354 0.204 284.271);
  --chart-4: oklch(0.531 0.125 242.129);
  --chart-5: oklch(0.342 0.207 264.547);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.131 0.019 273.842);
  --foreground: oklch(0.991 0.001 278.298);
  --muted: oklch(0.194 0.006 231.121);
  --muted-foreground: oklch(0.767 0.018 230.987);
  --popover: oklch(0.131 0.019 273.842);
  --popover-foreground: oklch(0.991 0.001 278.298);
  --card: oklch(0.131 0.019 273.842);
  --card-foreground: oklch(0.991 0.001 278.298);
  --border: oklch(0.219 0.009 277.663);
  --input: oklch(0.219 0.009 277.663);
  --primary: oklch(0.341 0.203 264.904);
  --primary-foreground: oklch(0.904 0.045 277.546);
  --secondary: oklch(0.498 0.116 241.904);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.354 0.204 284.271);
  --accent-foreground: oklch(0.903 0.054 301.278);
  --destructive: oklch(0.689 0.186 40.281);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.341 0.203 264.904);
  --chart-1: oklch(0.341 0.203 264.904);
  --chart-2: oklch(0.498 0.116 241.904);
  --chart-3: oklch(0.354 0.204 284.271);
  --chart-4: oklch(0.531 0.125 242.129);
  --chart-5: oklch(0.342 0.207 264.547);
}