Content is a shadcn/ui theme built around a deep teal primary color (#214a4a) with deep blue accents (#21364a). The light mode uses a neutral background (#f8fcfc). Dark mode keeps the deep teal primary (#214a4a) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfcmintcream | #000000black |
| Foreground | #030808black | #fcfdfdwhite |
| Card | #f5fafamintcream | #030303black |
| Card foreground | #010404black | #ffffffwhite |
| Popover | #f5fafamintcream | #030303black |
| Popover foreground | #010404black | #ffffffwhite |
| Primary | #214a4adarkslategray | #214a4adarkslategray |
| Primary foreground | #bce1e1powderblue | #bce1e1powderblue |
| Secondary | #214a36darkslategray | #214a36darkslategray |
| Secondary foreground | #bce1cfpowderblue | #bce1cfpowderblue |
| Muted | #eef1f0whitesmoke | #0e110fblack |
| Muted foreground | #4d514fdarkslategray | #aeb2b0darkgray |
| Accent | #21364adarkslategray | #21364adarkslategray |
| Accent foreground | #bccfe1lightsteelblue | #bccfe1lightsteelblue |
| Destructive | #be4209firebrick | #f45f1achocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #214a4adarkslategray | #214a4adarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.46:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 6.95:1 | AA |
| Secondary button | 7.02:1 | AAA |
| Muted text | 7.09:1 | AAA |
| Accent | 7.81:1 | AAA |
| Destructive | 5.27:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 6.95:1 | AA |
| Secondary button | 7.02:1 | AAA |
| Muted text | 8.87:1 | AAA |
| Accent | 7.81:1 | AAA |
| Destructive | 6.51:1 | AA |
Paste this into your globals.css to use Content in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.004 197.094);
--foreground: oklch(0.124 0.012 195.682);
--muted: oklch(0.956 0.003 165.049);
--muted-foreground: oklch(0.431 0.007 164.698);
--popover: oklch(0.981 0.006 197.062);
--popover-foreground: oklch(0.099 0.01 195.682);
--card: oklch(0.981 0.006 197.062);
--card-foreground: oklch(0.099 0.01 195.682);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.381 0.047 195.376);
--primary-foreground: oklch(0.884 0.039 196.459);
--secondary: oklch(0.374 0.06 159.749);
--secondary-foreground: oklch(0.879 0.047 163.644);
--accent: oklch(0.324 0.046 249.416);
--accent-foreground: oklch(0.845 0.033 248.223);
--destructive: oklch(0.548 0.169 39.641);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.381 0.047 195.376);
--chart-1: oklch(0.381 0.047 195.376);
--chart-2: oklch(0.374 0.06 159.749);
--chart-3: oklch(0.324 0.046 249.416);
--chart-4: oklch(0.409 0.066 159.608);
--chart-5: oklch(0.386 0.049 195.307);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 197.141);
--muted: oklch(0.172 0.005 164.322);
--muted-foreground: oklch(0.76 0.006 164.926);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.381 0.047 195.376);
--primary-foreground: oklch(0.884 0.039 196.459);
--secondary: oklch(0.374 0.06 159.749);
--secondary-foreground: oklch(0.879 0.047 163.644);
--accent: oklch(0.324 0.046 249.416);
--accent-foreground: oklch(0.845 0.033 248.223);
--destructive: oklch(0.671 0.197 40.844);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.381 0.047 195.376);
--chart-1: oklch(0.381 0.047 195.376);
--chart-2: oklch(0.374 0.06 159.749);
--chart-3: oklch(0.324 0.046 249.416);
--chart-4: oklch(0.409 0.066 159.608);
--chart-5: oklch(0.386 0.049 195.307);
}