Underlying Pacific Blues for shadcn/ui

Underlying Pacific Blues is a shadcn/ui theme built around a blue primary color (#426fbd) with orange accents (#bd9042). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the blue primary (#426fbd) on a neutral background (#030507).

Color palette

TokenLightDark
Background
#fcfcfdwhite
#030507black
Foreground
#020408black
#ffffffwhite
Card
#f8f9fcghostwhite
#05070ablack
Card foreground
#010204black
#ffffffwhite
Popover
#fcfcfdwhite
#030507black
Popover foreground
#020408black
#ffffffwhite
Primary
#426fbdsteelblue
#426fbdsteelblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#bd9042peru
#bd9042peru
Secondary foreground
#000000black
#000000black
Muted
#f3f1eclinen
#13100cblack
Muted foreground
#676665dimgray
#9a9998darkgray
Accent
#bd9042peru
#bd9042peru
Accent foreground
#000000black
#000000black
Destructive
#b90704firebrick
#fb3a37tomato
Destructive foreground
#fff0f0lavenderblush
#ffffffwhite
Border
#ebedeflavender
#1b1e22black
Input
#ebedeflavender
#1b1e22black
Ring
#426fbdsteelblue
#426fbdsteelblue

Contrast

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

Light mode
Text on background20.02:1AAA
Text on card19.76:1AAA
Primary button4.94:1AA
Secondary button7.21:1AAA
Muted text5.06:1AA
Accent7.21:1AAA
Destructive6.13:1AA
Dark mode
Text on background20.44:1AAA
Text on card20.17:1AAA
Primary button4.94:1AA
Secondary button7.21:1AAA
Muted text6.66:1AA
Accent7.21:1AAA
Destructive3.64:1AA Large

CSS variables

Paste this into your globals.css to use Underlying Pacific Blues in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 261.514);
  --foreground: oklch(0.108 0.014 253.241);
  --muted: oklch(0.957 0.006 81.513);
  --muted-foreground: oklch(0.511 0.002 81.513);
  --popover: oklch(0.991 0.002 261.514);
  --popover-foreground: oklch(0.108 0.014 253.241);
  --card: oklch(0.983 0.004 261.513);
  --card-foreground: oklch(0.086 0.011 253.241);
  --border: oklch(0.945 0.004 261.513);
  --input: oklch(0.945 0.004 261.513);
  --primary: oklch(0.548 0.131 260.6);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.681 0.109 78.741);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.681 0.109 78.741);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.495 0.2 29.232);
  --destructive-foreground: oklch(0.967 0.016 18.612);
  --ring: oklch(0.548 0.131 260.6);
  --chart-1: oklch(0.548 0.131 260.6);
  --chart-2: oklch(0.681 0.109 78.741);
  --chart-3: oklch(0.681 0.109 78.741);
  --chart-4: oklch(0.699 0.104 79.358);
  --chart-5: oklch(0.547 0.139 260.562);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.111 0.008 256.713);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.175 0.009 81.373);
  --muted-foreground: oklch(0.684 0.002 81.514);
  --popover: oklch(0.111 0.008 256.713);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.127 0.01 256.714);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.233 0.009 261.457);
  --input: oklch(0.233 0.009 261.457);
  --primary: oklch(0.548 0.131 260.6);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.681 0.109 78.741);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.681 0.109 78.741);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.647 0.228 27.096);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.548 0.131 260.6);
  --chart-1: oklch(0.548 0.131 260.6);
  --chart-2: oklch(0.681 0.109 78.741);
  --chart-3: oklch(0.681 0.109 78.741);
  --chart-4: oklch(0.699 0.104 79.358);
  --chart-5: oklch(0.547 0.139 260.562);
}