Cultivated is a shadcn/ui theme built around a blue primary color (#5c86db) with indigo accents (#715cdb). The light mode uses a neutral background (#f7f9fd). Dark mode keeps the blue primary (#5c86db) on a blue-tinted background (#06090e).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f9fdghostwhite | #06090eblack |
| Foreground | #020409black | #f6f7f9whitesmoke |
| Card | #f7f9fdghostwhite | #06090eblack |
| Card foreground | #020409black | #f6f7f9whitesmoke |
| Popover | #f7f9fdghostwhite | #06090eblack |
| Popover foreground | #020409black | #f6f7f9whitesmoke |
| Primary | #5c86dbcornflowerblue | #5c86dbcornflowerblue |
| Primary foreground | #000000black | #000000black |
| Secondary | #5cc6dbmediumturquoise | #5cc6dbmediumturquoise |
| Secondary foreground | #010404black | #010404black |
| Muted | #d3dddfgainsboro | #202a2cdarkslategray |
| Muted foreground | #495b5fdarkslategray | #a0b2b6darkgray |
| Accent | #715cdbslateblue | #715cdbslateblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #e63200orangered | #f03400orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5c86dbcornflowerblue | #5c86dbcornflowerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.41:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 5.90:1 | AA |
| Secondary button | 10.34:1 | AAA |
| Muted text | 5.14:1 | AA |
| Accent | 4.93:1 | AA |
| Destructive | 4.37:1 | AA Large |
| Text on background | 18.60:1 | AAA |
| Text on card | 18.60:1 | AAA |
| Primary button | 5.90:1 | AA |
| Secondary button | 10.34:1 | AAA |
| Muted text | 6.64:1 | AA |
| Accent | 4.93:1 | AA |
| Destructive | 4.05:1 | AA Large |
Paste this into your globals.css to use Cultivated in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 264.53);
--foreground: oklch(0.105 0.017 254.261);
--muted: oklch(0.89 0.011 211.038);
--muted-foreground: oklch(0.459 0.023 211.146);
--popover: oklch(0.981 0.006 264.53);
--popover-foreground: oklch(0.105 0.017 254.261);
--card: oklch(0.981 0.006 264.53);
--card-foreground: oklch(0.105 0.017 254.261);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.629 0.137 262.968);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.772 0.102 212.699);
--secondary-foreground: oklch(0.097 0.011 207.095);
--accent: oklch(0.563 0.187 286.403);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.6 0.22 33.345);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.629 0.137 262.968);
--chart-1: oklch(0.629 0.137 262.968);
--chart-2: oklch(0.772 0.102 212.699);
--chart-3: oklch(0.563 0.187 286.403);
--chart-4: oklch(0.788 0.096 212.325);
--chart-5: oklch(0.628 0.143 262.88);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.013 261.043);
--foreground: oklch(0.976 0.002 264.544);
--muted: oklch(0.278 0.015 211.16);
--muted-foreground: oklch(0.751 0.021 211.056);
--popover: oklch(0.139 0.013 261.043);
--popover-foreground: oklch(0.976 0.002 264.544);
--card: oklch(0.139 0.013 261.043);
--card-foreground: oklch(0.976 0.002 264.544);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.629 0.137 262.968);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.772 0.102 212.699);
--secondary-foreground: oklch(0.097 0.011 207.095);
--accent: oklch(0.563 0.187 286.403);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.62 0.227 33.276);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.629 0.137 262.968);
--chart-1: oklch(0.629 0.137 262.968);
--chart-2: oklch(0.772 0.102 212.699);
--chart-3: oklch(0.563 0.187 286.403);
--chart-4: oklch(0.788 0.096 212.325);
--chart-5: oklch(0.628 0.143 262.88);
}