Managerial Blue Royale for shadcn/ui

Managerial Blue Royale is a shadcn/ui theme built around an indigo primary color (#221f7a) with muted red accents (#c2b7b7). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the indigo primary (#221f7a) on a neutral background (#010104).

Color palette

TokenLightDark
Background
#fcfcfdwhite
#010104black
Foreground
#000000black
#f7f7f8whitesmoke
Card
#f8f8fcghostwhite
#020208black
Card foreground
#000000black
#f9f9faghostwhite
Popover
#f8f8fcghostwhite
#020208black
Popover foreground
#000000black
#f9f9faghostwhite
Primary
#221f7amidnightblue
#221f7amidnightblue
Primary foreground
#d7d6f5lavender
#d7d6f5lavender
Secondary
#d1d1d1lightgrey
#121217black
Secondary foreground
#383838darkslategray
#a4a4b7darkgray
Muted
#e8d3d3gainsboro
#17172cblack
Muted foreground
#6d5454dimgray
#9292abdarkgray
Accent
#c2b7b7silver
#232334darkslategray
Accent foreground
#272121black
#b9b9d0silver
Destructive
#830c01maroon
#fd4130tomato
Destructive foreground
#febeb8lightpink
#ffffffwhite
Border
#eeeef1whitesmoke
#1a1a1fblack
Input
#eeeef1whitesmoke
#1a1a1fblack
Ring
#221f7amidnightblue
#221f7amidnightblue

Contrast

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

Light mode
Text on background20.40:1AAA
Text on card19.82:1AAA
Primary button9.61:1AAA
Secondary button7.68:1AAA
Muted text4.83:1AA
Accent8.13:1AAA
Destructive6.55:1AA
Dark mode
Text on background19.46:1AAA
Text on card19.64:1AAA
Primary button9.61:1AAA
Secondary button7.62:1AAA
Muted text5.80:1AA
Accent8.03:1AAA
Destructive3.51:1AA Large

CSS variables

Paste this into your globals.css to use Managerial Blue Royale in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.002 287.893);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.885 0.024 17.607);
  --muted-foreground: oklch(0.473 0.034 18.412);
  --popover: oklch(0.98 0.005 287.845);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.98 0.005 287.845);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.951 0.004 287.868);
  --input: oklch(0.951 0.004 287.868);
  --primary: oklch(0.314 0.149 275.052);
  --primary-foreground: oklch(0.887 0.042 287.043);
  --secondary: oklch(0.861 0 180);
  --secondary-foreground: oklch(0.341 0 158.199);
  --accent: oklch(0.789 0.012 17.412);
  --accent-foreground: oklch(0.254 0.009 17.743);
  --destructive: oklch(0.389 0.152 30.568);
  --destructive-foreground: oklch(0.859 0.075 24.647);
  --ring: oklch(0.314 0.149 275.052);
  --chart-1: oklch(0.314 0.149 275.052);
  --chart-2: oklch(0.861 0 180);
  --chart-3: oklch(0.789 0.012 17.412);
  --chart-4: oklch(0.885 0 180);
  --chart-5: oklch(0.312 0.155 274.115);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.075 0.018 283.604);
  --foreground: oklch(0.975 0.002 287.901);
  --muted: oklch(0.215 0.041 283.893);
  --muted-foreground: oklch(0.668 0.037 286.88);
  --popover: oklch(0.094 0.022 283.604);
  --popover-foreground: oklch(0.984 0.001 287.914);
  --card: oklch(0.094 0.022 283.604);
  --card-foreground: oklch(0.984 0.001 287.914);
  --border: oklch(0.218 0.01 287.087);
  --input: oklch(0.218 0.01 287.087);
  --primary: oklch(0.314 0.149 275.052);
  --primary-foreground: oklch(0.887 0.042 287.043);
  --secondary: oklch(0.184 0.01 286.913);
  --secondary-foreground: oklch(0.724 0.028 287.205);
  --accent: oklch(0.264 0.032 285.492);
  --accent-foreground: oklch(0.793 0.033 287.152);
  --destructive: oklch(0.655 0.226 29.656);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.314 0.149 275.052);
  --chart-1: oklch(0.314 0.149 275.052);
  --chart-2: oklch(0.184 0.01 286.913);
  --chart-3: oklch(0.264 0.032 285.492);
  --chart-4: oklch(0.215 0.013 286.769);
  --chart-5: oklch(0.312 0.155 274.115);
}