Corresponding Borage Blue for shadcn/ui

Corresponding Borage Blue is a shadcn/ui theme built around a blue primary color (#5568c3) with yellow accents (#c3b155). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the blue primary (#5568c3) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfcfewhite
#000000black
Foreground
#030611black
#fcfcfdwhite
Card
#f8f8fcghostwhite
#030303black
Card foreground
#03040dblack
#ffffffwhite
Popover
#fbfcfewhite
#000000black
Popover foreground
#030611black
#fcfcfdwhite
Primary
#5568c3slateblue
#5568c3slateblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#c3b155darkkhaki
#c3b155darkkhaki
Secondary foreground
#000000black
#000000black
Muted
#e2e0d5gainsboro
#2a281ddarkslategray
Muted foreground
#545245darkolivegreen
#bab8abdarkgray
Accent
#c3b155darkkhaki
#c3b155darkkhaki
Accent foreground
#000000black
#000000black
Destructive
#d51d10firebrick
#ef3b2ecrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e7e8e9lavender
#252527darkslategray
Input
#e7e8e9lavender
#252527darkslategray
Ring
#5568c3slateblue
#5568c3slateblue

Contrast

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

Light mode
Text on background19.67:1AAA
Text on card19.32:1AAA
Primary button5.07:1AA
Secondary button9.74:1AAA
Muted text5.91:1AA
Accent9.74:1AAA
Destructive5.21:1AA
Dark mode
Text on background20.48:1AAA
Text on card20.67:1AAA
Primary button5.07:1AA
Secondary button9.74:1AAA
Muted text7.41:1AAA
Accent9.74:1AAA
Destructive3.92:1AA Large

CSS variables

Paste this into your globals.css to use Corresponding Borage Blue in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 277.222);
  --foreground: oklch(0.124 0.028 269.309);
  --muted: oklch(0.904 0.015 97.47);
  --muted-foreground: oklch(0.436 0.021 97.828);
  --popover: oklch(0.99 0.003 277.222);
  --popover-foreground: oklch(0.124 0.028 269.309);
  --card: oklch(0.981 0.005 277.184);
  --card-foreground: oklch(0.112 0.024 268.733);
  --border: oklch(0.93 0.002 277.236);
  --input: oklch(0.93 0.002 277.236);
  --primary: oklch(0.547 0.144 272.331);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.757 0.115 98.176);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.757 0.115 98.176);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.559 0.216 29.724);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.547 0.144 272.331);
  --chart-1: oklch(0.547 0.144 272.331);
  --chart-2: oklch(0.757 0.115 98.176);
  --chart-3: oklch(0.757 0.115 98.176);
  --chart-4: oklch(0.773 0.109 98.254);
  --chart-5: oklch(0.543 0.152 271.911);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 277.245);
  --muted: oklch(0.276 0.019 98.036);
  --muted-foreground: oklch(0.78 0.018 97.556);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0.001 277.245);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.267 0.004 277.073);
  --input: oklch(0.267 0.004 277.073);
  --primary: oklch(0.547 0.144 272.331);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.757 0.115 98.176);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.757 0.115 98.176);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.627 0.218 29.019);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.547 0.144 272.331);
  --chart-1: oklch(0.547 0.144 272.331);
  --chart-2: oklch(0.757 0.115 98.176);
  --chart-3: oklch(0.757 0.115 98.176);
  --chart-4: oklch(0.773 0.109 98.254);
  --chart-5: oklch(0.543 0.152 271.911);
}