Karimun Blue Elephant for shadcn/ui

Karimun Blue Elephant is a shadcn/ui theme built around a vivid blue primary color (#0096fa) with muted light blue accents (#cdd4da). The light mode uses a neutral background (#f5f5f5). Dark mode keeps the vivid blue primary (#0096fa) on a neutral background (#010304).

Color palette

TokenLightDark
Background
#f5f5f5whitesmoke
#010304black
Foreground
#030a12black
#f9fafbghostwhite
Card
#ffffffwhite
#010304black
Card foreground
#030a12black
#f9fafbghostwhite
Popover
#fbfcfewhite
#010304black
Popover foreground
#030a12black
#f9fafbghostwhite
Primary
#0096fadodgerblue
#0096fadodgerblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#cdd4dalightgrey
#20262cdarkslategray
Secondary foreground
#323b43darkslategray
#b5bfc9silver
Muted
#e1e6ealavender
#151a1eblack
Muted foreground
#4f575fdimgray
#a0a8b0darkgray
Accent
#cdd4dalightgrey
#20262cdarkslategray
Accent foreground
#323b43darkslategray
#b5bfc9silver
Destructive
#ff2b00orangered
#f05b3dtomato
Destructive foreground
#fffbfasnow
#000000black
Border
#eef0f1whitesmoke
#1c1f21black
Input
#eef0f1whitesmoke
#1c1f21black
Ring
#0080ffdodgerblue
#0080ffdodgerblue

Contrast

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

Light mode
Text on background18.24:1AAA
Text on card19.88:1AAA
Primary button3.11:1AA Large
Secondary button7.59:1AAA
Muted text5.81:1AA
Accent7.59:1AAA
Destructive3.64:1AA Large
Dark mode
Text on background19.81:1AAA
Text on card19.81:1AAA
Primary button3.11:1AA Large
Secondary button8.16:1AAA
Muted text7.30:1AAA
Accent8.16:1AAA
Destructive6.26:1AA

CSS variables

Paste this into your globals.css to use Karimun Blue Elephant in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.97 0 187.595);
  --foreground: oklch(0.141 0.022 242.338);
  --muted: oklch(0.921 0.008 247.917);
  --muted-foreground: oklch(0.452 0.016 248.185);
  --popover: oklch(0.992 0.003 247.85);
  --popover-foreground: oklch(0.141 0.022 242.338);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.141 0.022 242.338);
  --border: oklch(0.954 0.002 247.844);
  --input: oklch(0.954 0.002 247.844);
  --primary: oklch(0.659 0.181 248.769);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.866 0.011 247.959);
  --secondary-foreground: oklch(0.346 0.019 248.388);
  --accent: oklch(0.866 0.011 247.959);
  --accent-foreground: oklch(0.346 0.019 248.388);
  --destructive: oklch(0.641 0.245 31.689);
  --destructive-foreground: oklch(0.991 0.004 31.051);
  --ring: oklch(0.614 0.211 256.215);
  --chart-1: oklch(0.659 0.181 248.769);
  --chart-2: oklch(0.866 0.011 247.959);
  --chart-3: oklch(0.866 0.011 247.959);
  --chart-4: oklch(0.89 0.009 247.932);
  --chart-5: oklch(0.663 0.185 249.204);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.089 0.01 239.894);
  --foreground: oklch(0.984 0.001 247.834);
  --muted: oklch(0.213 0.012 248.395);
  --muted-foreground: oklch(0.729 0.014 248.025);
  --popover: oklch(0.089 0.01 239.894);
  --popover-foreground: oklch(0.984 0.001 247.834);
  --card: oklch(0.089 0.01 239.894);
  --card-foreground: oklch(0.984 0.001 247.834);
  --border: oklch(0.236 0.006 248.081);
  --input: oklch(0.236 0.006 248.081);
  --primary: oklch(0.659 0.181 248.769);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.266 0.014 248.369);
  --secondary-foreground: oklch(0.801 0.018 248.057);
  --accent: oklch(0.266 0.014 248.369);
  --accent-foreground: oklch(0.801 0.018 248.057);
  --destructive: oklch(0.662 0.19 33.194);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.614 0.211 256.215);
  --chart-1: oklch(0.659 0.181 248.769);
  --chart-2: oklch(0.266 0.014 248.369);
  --chart-3: oklch(0.266 0.014 248.369);
  --chart-4: oklch(0.297 0.017 248.395);
  --chart-5: oklch(0.663 0.185 249.204);
}