Blue Ranger Tiglon for shadcn/ui

Blue Ranger Tiglon is a shadcn/ui theme built around an indigo primary color (#141b85) with muted light indigo accents (#c1c2cd). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the indigo primary (#141b85) on a neutral background (#030307).

Color palette

TokenLightDark
Background
#fbfbfeghostwhite
#030307black
Foreground
#030417black
#f5f5f9whitesmoke
Card
#f7f7fdghostwhite
#04050bblack
Card foreground
#020312black
#f8f9fbghostwhite
Popover
#fbfbfeghostwhite
#030307black
Popover foreground
#030417black
#f5f5f9whitesmoke
Primary
#141b85midnightblue
#141b85midnightblue
Primary foreground
#d3d5f8lavender
#d3d5f8lavender
Secondary
#dddddfgainsboro
#1c1c21black
Secondary foreground
#434446darkslategray
#b1b2besilver
Muted
#dedfedlavender
#121321black
Muted foreground
#636369dimgray
#96969cdarkgray
Accent
#c1c2cdsilver
#282939darkslategray
Accent foreground
#292a32darkslategray
#c0c2d3silver
Destructive
#b31005firebrick
#fa3729orangered
Destructive foreground
#feeceblinen
#ffffffwhite
Border
#e7e7e9lavender
#202022black
Input
#e7e7e9lavender
#202022black
Ring
#141b85midnightblue
#141b85midnightblue

Contrast

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

Light mode
Text on background19.68:1AAA
Text on card19.23:1AAA
Primary button9.57:1AAA
Secondary button7.20:1AAA
Muted text4.51:1AA
Accent8.06:1AAA
Destructive6.14:1AA
Dark mode
Text on background18.91:1AAA
Text on card19.33:1AAA
Primary button9.57:1AAA
Secondary button8.05:1AAA
Muted text6.25:1AA
Accent8.08:1AAA
Destructive3.73:1AA Large

CSS variables

Paste this into your globals.css to use Blue Ranger Tiglon in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.004 283.043);
  --foreground: oklch(0.121 0.046 272.102);
  --muted: oklch(0.907 0.019 282.75);
  --muted-foreground: oklch(0.503 0.009 282.799);
  --popover: oklch(0.989 0.004 283.043);
  --popover-foreground: oklch(0.121 0.046 272.102);
  --card: oklch(0.978 0.007 282.976);
  --card-foreground: oklch(0.111 0.04 272.245);
  --border: oklch(0.93 0.002 283.075);
  --input: oklch(0.93 0.002 283.075);
  --primary: oklch(0.314 0.17 268.778);
  --primary-foreground: oklch(0.883 0.048 282.125);
  --secondary: oklch(0.899 0.002 283.075);
  --secondary-foreground: oklch(0.386 0.004 282.915);
  --accent: oklch(0.817 0.015 282.799);
  --accent-foreground: oklch(0.288 0.016 282.137);
  --destructive: oklch(0.487 0.192 29.854);
  --destructive-foreground: oklch(0.958 0.02 22.455);
  --ring: oklch(0.314 0.17 268.778);
  --chart-1: oklch(0.314 0.17 268.778);
  --chart-2: oklch(0.899 0.002 283.075);
  --chart-3: oklch(0.817 0.015 282.799);
  --chart-4: oklch(0.922 0.001 283.083);
  --chart-5: oklch(0.313 0.175 268.125);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.102 0.015 279.29);
  --foreground: oklch(0.973 0.005 283.014);
  --muted: oklch(0.193 0.028 280.307);
  --muted-foreground: oklch(0.676 0.008 282.895);
  --popover: oklch(0.102 0.015 279.29);
  --popover-foreground: oklch(0.973 0.005 283.014);
  --card: oklch(0.117 0.017 279.294);
  --card-foreground: oklch(0.982 0.004 283.045);
  --border: oklch(0.245 0.003 282.862);
  --input: oklch(0.245 0.003 282.862);
  --primary: oklch(0.314 0.17 268.778);
  --primary-foreground: oklch(0.883 0.048 282.125);
  --secondary: oklch(0.229 0.01 282.344);
  --secondary-foreground: oklch(0.767 0.017 282.723);
  --accent: oklch(0.288 0.028 281.289);
  --accent-foreground: oklch(0.817 0.024 282.6);
  --destructive: oklch(0.641 0.231 29.291);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.314 0.17 268.778);
  --chart-1: oklch(0.314 0.17 268.778);
  --chart-2: oklch(0.229 0.01 282.344);
  --chart-3: oklch(0.288 0.028 281.289);
  --chart-4: oklch(0.26 0.012 282.287);
  --chart-5: oklch(0.313 0.175 268.125);
}