crm 3 is a shadcn/ui theme built around a vivid blue primary color (#4d70ff) with vivid green accents (#9beb54). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the vivid blue primary (#4d70ff) on a blue-tinted background (#04060b).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #04060bblack |
| Foreground | #020308black | #f9fafbghostwhite |
| Card | #fbfcfewhite | #04060bblack |
| Card foreground | #020308black | #f9fafbghostwhite |
| Popover | #fbfcfewhite | #04060bblack |
| Popover foreground | #020308black | #f9fafbghostwhite |
| Primary | #4d70ffroyalblue | #4d70ffroyalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e7ebfblavender | #ffdb4dsandybrown |
| Secondary foreground | #4d70ffroyalblue | #1a1400black |
| Muted | #f7f5eewhitesmoke | #110f08black |
| Muted foreground | #52514cdarkslategray | #b3b2addarkgray |
| Accent | #9beb54yellowgreen | #ffdb4dsandybrown |
| Accent foreground | #1a1400black | #1a1400black |
| Destructive | #df3d07orangered | #f8470dorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #ebeceflavender | #17181cblack |
| Input | #ebeceflavender | #17181cblack |
| Ring | #4d70ffroyalblue | #4d70ffroyalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.01:1 | AAA |
| Text on card | 20.01:1 | AAA |
| Primary button | 4.13:1 | AA Large |
| Secondary button | 3.48:1 | AA Large |
| Muted text | 7.27:1 | AAA |
| Accent | 12.59:1 | AAA |
| Destructive | 4.38:1 | AA Large |
| Text on background | 19.41:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 4.13:1 | AA Large |
| Secondary button | 13.56:1 | AAA |
| Muted text | 9.00:1 | AAA |
| Accent | 13.56:1 | AAA |
| Destructive | 3.56:1 | AA Large |
Paste this into your globals.css to use crm 3 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 274.994);
--foreground: oklch(0.102 0.017 267.869);
--muted: oklch(0.969 0.009 95.146);
--muted-foreground: oklch(0.434 0.008 95.251);
--popover: oklch(0.99 0.003 274.994);
--popover-foreground: oklch(0.102 0.017 267.869);
--card: oklch(0.99 0.003 274.994);
--card-foreground: oklch(0.102 0.017 267.869);
--border: oklch(0.943 0.004 274.979);
--input: oklch(0.943 0.004 274.979);
--primary: oklch(0.602 0.216 268.463);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.942 0.022 274.738);
--secondary-foreground: oklch(0.601 0.216 268.62);
--accent: oklch(0.859 0.199 132.975);
--accent-foreground: oklch(0.193 0.04 97.564);
--destructive: oklch(0.598 0.205 35.282);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.602 0.216 268.463);
--chart-1: oklch(0.602 0.216 268.463);
--chart-2: oklch(0.942 0.022 274.738);
--chart-3: oklch(0.859 0.199 132.975);
--chart-4: oklch(0.974 0.01 274.91);
--chart-5: oklch(0.599 0.222 268.221);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.014 269.977);
--foreground: oklch(0.984 0.001 275.016);
--muted: oklch(0.17 0.014 95.877);
--muted-foreground: oklch(0.763 0.007 95.145);
--popover: oklch(0.121 0.014 269.977);
--popover-foreground: oklch(0.984 0.001 275.016);
--card: oklch(0.121 0.014 269.977);
--card-foreground: oklch(0.984 0.001 275.016);
--border: oklch(0.209 0.009 274.464);
--input: oklch(0.209 0.009 274.464);
--primary: oklch(0.602 0.216 268.463);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.898 0.159 94.713);
--secondary-foreground: oklch(0.193 0.04 97.564);
--accent: oklch(0.898 0.159 94.713);
--accent-foreground: oklch(0.193 0.04 97.564);
--destructive: oklch(0.65 0.22 35.582);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.602 0.216 268.463);
--chart-1: oklch(0.602 0.216 268.463);
--chart-2: oklch(0.898 0.159 94.713);
--chart-3: oklch(0.898 0.159 94.713);
--chart-4: oklch(0.905 0.151 95.123);
--chart-5: oklch(0.599 0.222 268.221);
}