Implicit Dodger Blue for shadcn/ui

Implicit Dodger Blue is a shadcn/ui theme built around a vivid blue primary color (#3d84f5) with vivid blue accents (#3d84f5). The light mode uses a neutral background (#fcfbf8). Dark mode keeps the vivid blue primary (#3d84f5) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfbf8snow
#000000black
Foreground
#000000black
#ffffffwhite
Card
#fcfbf8snow
#000000black
Card foreground
#000000black
#fffefcwhite
Popover
#fcfbf8snow
#000000black
Popover foreground
#000000black
#fdfdfcwhite
Primary
#3d84f5royalblue
#3d84f5royalblue
Primary foreground
#d8d6d0lightgrey
#d8d6d0lightgrey
Secondary
#ffffffwhite
#ffffffwhite
Secondary foreground
#3d84f5royalblue
#3d84f5royalblue
Muted
#f0f1f4whitesmoke
#1e293bdarkslategray
Muted foreground
#1e293bdarkslategray
#353d4bdarkslategray
Accent
#3d84f5royalblue
#3d84f5royalblue
Accent foreground
#d0d1d8lightgrey
#d0d1d8lightgrey
Destructive
#ff0000red
#ff0000red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e9e9e7linen
#ffffffwhite
Input
#e9e9e7linen
#1d1d1bblack
Ring
#3f3e39darkslategray
#272727darkslategray

Contrast

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

Light mode
Text on background20.30:1AAA
Text on card20.30:1AAA
Primary button2.48:1Fail
Secondary button3.60:1AA Large
Muted text12.94:1AAA
Accent2.37:1Fail
Destructive3.99:1AA Large
Dark mode
Text on background21.00:1AAA
Text on card20.83:1AAA
Primary button2.48:1Fail
Secondary button3.60:1AA Large
Muted text1.33:1Fail
Accent2.37:1Fail
Destructive3.99:1AA Large

CSS variables

Paste this into your globals.css to use Implicit Dodger Blue in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.004 98.375);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.958 0.005 278.247);
  --muted-foreground: oklch(0.279 0.037 260.029);
  --popover: oklch(0.988 0.004 98.375);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.004 98.375);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.933 0.002 98.35);
  --input: oklch(0.933 0.002 98.35);
  --primary: oklch(0.627 0.184 259.441);
  --primary-foreground: oklch(0.876 0.009 98.463);
  --secondary: oklch(1 0 180);
  --secondary-foreground: oklch(0.627 0.184 259.441);
  --accent: oklch(0.627 0.184 259.441);
  --accent-foreground: oklch(0.861 0.009 278.162);
  --destructive: oklch(0.628 0.258 29.234);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.363 0.008 98.631);
  --chart-1: oklch(0.627 0.184 259.441);
  --chart-2: oklch(1 0 180);
  --chart-3: oklch(0.627 0.184 259.441);
  --chart-4: oklch(1.023 0 180);
  --chart-5: oklch(0.627 0.189 259.484);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.279 0.037 260.029);
  --muted-foreground: oklch(0.359 0.026 260.229);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.994 0.002 98.347);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.998 0.004 98.371);
  --border: oklch(1 0 180);
  --input: oklch(0.23 0.004 98.537);
  --primary: oklch(0.627 0.184 259.441);
  --primary-foreground: oklch(0.876 0.009 98.463);
  --secondary: oklch(1 0 180);
  --secondary-foreground: oklch(0.627 0.184 259.441);
  --accent: oklch(0.627 0.184 259.441);
  --accent-foreground: oklch(0.861 0.009 278.162);
  --destructive: oklch(0.628 0.258 29.234);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.274 0 180);
  --chart-1: oklch(0.627 0.184 259.441);
  --chart-2: oklch(1 0 180);
  --chart-3: oklch(0.627 0.184 259.441);
  --chart-4: oklch(1.023 0 180);
  --chart-5: oklch(0.627 0.189 259.484);
}