Blaring for shadcn/ui

Blaring is a shadcn/ui theme built around a deep teal primary color (#22533e) with muted light teal accents (#cfd8d4). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep teal primary (#22533e) on a neutral background (#010403).

Color palette

TokenLightDark
Background
#ffffffwhite
#010403black
Foreground
#010403black
#f9fbfamintcream
Card
#ffffffwhite
#010403black
Card foreground
#010403black
#f9fbfamintcream
Popover
#ffffffwhite
#010403black
Popover foreground
#010403black
#f9fbfamintcream
Primary
#22533edarkslategray
#22533edarkslategray
Primary foreground
#c1e6d6powderblue
#c1e6d6powderblue
Secondary
#cfd8d4lightgrey
#111815black
Secondary foreground
#34413cdarkslategray
#9fbcafdarkgray
Muted
#e1e5e3gainsboro
#1a1e1cblack
Muted foreground
#4e504fdarkslategray
#afb1b0darkgray
Accent
#cfd8d4lightgrey
#111815black
Accent foreground
#34413cdarkslategray
#9fbcafdarkgray
Destructive
#9d3b06saddlebrown
#f76f26tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#22533edarkslategray
#22533edarkslategray

Contrast

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

Light mode
Text on background20.58:1AAA
Text on card20.58:1AAA
Primary button6.52:1AA
Secondary button7.35:1AAA
Muted text6.39:1AA
Accent7.35:1AAA
Destructive6.84:1AA
Dark mode
Text on background19.81:1AAA
Text on card19.81:1AAA
Primary button6.52:1AA
Secondary button8.82:1AAA
Muted text7.79:1AAA
Accent8.82:1AAA
Destructive7.28:1AAA

CSS variables

Paste this into your globals.css to use Blaring in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.1 0.015 169.036);
  --muted: oklch(0.919 0.005 168.566);
  --muted-foreground: oklch(0.429 0.002 168.581);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.1 0.015 169.036);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.1 0.015 169.036);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.403 0.065 162.701);
  --primary-foreground: oklch(0.894 0.044 167.287);
  --secondary: oklch(0.875 0.012 168.354);
  --secondary-foreground: oklch(0.362 0.019 167.142);
  --accent: oklch(0.875 0.012 168.354);
  --accent-foreground: oklch(0.362 0.019 167.142);
  --destructive: oklch(0.484 0.143 42.083);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.403 0.065 162.701);
  --chart-1: oklch(0.403 0.065 162.701);
  --chart-2: oklch(0.875 0.012 168.354);
  --chart-3: oklch(0.875 0.012 168.354);
  --chart-4: oklch(0.897 0.01 168.431);
  --chart-5: oklch(0.407 0.069 162.28);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.098 0.012 168.966);
  --foreground: oklch(0.986 0.003 168.647);
  --muted: oklch(0.231 0.008 167.777);
  --muted-foreground: oklch(0.758 0.002 168.659);
  --popover: oklch(0.098 0.012 168.966);
  --popover-foreground: oklch(0.986 0.003 168.647);
  --card: oklch(0.098 0.012 168.966);
  --card-foreground: oklch(0.986 0.003 168.647);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.403 0.065 162.701);
  --primary-foreground: oklch(0.894 0.044 167.287);
  --secondary: oklch(0.201 0.013 166.822);
  --secondary-foreground: oklch(0.77 0.037 167.328);
  --accent: oklch(0.201 0.013 166.822);
  --accent-foreground: oklch(0.77 0.037 167.328);
  --destructive: oklch(0.698 0.184 44.525);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.403 0.065 162.701);
  --chart-1: oklch(0.403 0.065 162.701);
  --chart-2: oklch(0.201 0.013 166.822);
  --chart-3: oklch(0.201 0.013 166.822);
  --chart-4: oklch(0.237 0.017 166.583);
  --chart-5: oklch(0.407 0.069 162.28);
}