Bluloco Light Italic for shadcn/ui

Bluloco Light Italic is a shadcn/ui theme built around a muted deep blue primary color (#383a42) with neutral gray accents (#d4d4d4). The light mode uses a neutral background (#fafafa). Dark mode keeps the muted deep blue primary (#383a42) on a neutral background (#fafafa).

Color palette

TokenLightDark
Background
#fafafasnow
#fafafasnow
Foreground
#383a42darkslategray
#383a42darkslategray
Card
#f5f5f5whitesmoke
#f5f5f5whitesmoke
Card foreground
#2d2e34darkslategray
#2d2e34darkslategray
Popover
#f2f2f2whitesmoke
#f2f2f2whitesmoke
Popover foreground
#212227black
#212227black
Primary
#383a42darkslategray
#383a42darkslategray
Primary foreground
#d3d4d9lightgrey
#d3d4d9lightgrey
Secondary
#bfbfbfsilver
#bfbfbfsilver
Secondary foreground
#262626darkslategray
#262626darkslategray
Muted
#e9e2e2gainsboro
#e9e2e2gainsboro
Muted foreground
#564343darkslategray
#564343darkslategray
Accent
#d4d4d4lightgrey
#d4d4d4lightgrey
Accent foreground
#3b3b3bdarkslategray
#3b3b3bdarkslategray
Destructive
#b80c00firebrick
#b80c00firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#edededwhitesmoke
#edededwhitesmoke
Input
#e6e6e6gainsboro
#e6e6e6gainsboro
Ring
#383a42darkslategray
#383a42darkslategray

Contrast

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

Light mode
Text on background10.85:1AAA
Text on card12.38:1AAA
Primary button7.63:1AAA
Secondary button8.25:1AAA
Muted text7.22:1AAA
Accent7.53:1AAA
Destructive6.81:1AA
Dark mode
Text on background10.85:1AAA
Text on card12.38:1AAA
Primary button7.63:1AAA
Secondary button8.25:1AAA
Muted text7.22:1AAA
Accent7.53:1AAA
Destructive6.81:1AA

CSS variables

Paste this into your globals.css to use Bluloco Light Italic in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0 180);
  --foreground: oklch(0.351 0.014 274.517);
  --muted: oklch(0.919 0.007 17.278);
  --muted-foreground: oklch(0.404 0.025 18.259);
  --popover: oklch(0.962 0 180);
  --popover-foreground: oklch(0.253 0.009 274.584);
  --card: oklch(0.97 0 180);
  --card-foreground: oklch(0.303 0.011 274.544);
  --border: oklch(0.947 0 180);
  --input: oklch(0.923 0 153.435);
  --primary: oklch(0.351 0.014 274.517);
  --primary-foreground: oklch(0.871 0.007 274.932);
  --secondary: oklch(0.805 0 169.695);
  --secondary-foreground: oklch(0.27 0 180);
  --accent: oklch(0.869 0 165.964);
  --accent-foreground: oklch(0.351 0 167.471);
  --destructive: oklch(0.494 0.198 30.027);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.351 0.014 274.517);
  --chart-1: oklch(0.351 0.014 274.517);
  --chart-2: oklch(0.805 0 169.695);
  --chart-3: oklch(0.869 0 165.964);
  --chart-4: oklch(0.829 0 180);
  --chart-5: oklch(0.347 0.019 274.289);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.985 0 180);
  --foreground: oklch(0.351 0.014 274.517);
  --muted: oklch(0.919 0.007 17.278);
  --muted-foreground: oklch(0.404 0.025 18.259);
  --popover: oklch(0.962 0 180);
  --popover-foreground: oklch(0.253 0.009 274.584);
  --card: oklch(0.97 0 180);
  --card-foreground: oklch(0.303 0.011 274.544);
  --border: oklch(0.947 0 180);
  --input: oklch(0.923 0 153.435);
  --primary: oklch(0.351 0.014 274.517);
  --primary-foreground: oklch(0.871 0.007 274.932);
  --secondary: oklch(0.805 0 169.695);
  --secondary-foreground: oklch(0.27 0 180);
  --accent: oklch(0.869 0 165.964);
  --accent-foreground: oklch(0.351 0 167.471);
  --destructive: oklch(0.494 0.198 30.027);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.351 0.014 274.517);
  --chart-1: oklch(0.351 0.014 274.517);
  --chart-2: oklch(0.805 0 169.695);
  --chart-3: oklch(0.869 0 165.964);
  --chart-4: oklch(0.829 0 180);
  --chart-5: oklch(0.347 0.019 274.289);
}