Okay Bluebell is a shadcn/ui theme built around an indigo primary color (#3b3196) with muted indigo accents (#bab9c6). The light mode uses a neutral background (#ffffff). Dark mode keeps the indigo primary (#3b3196) on a neutral background (#030208).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030208black |
| Foreground | #050410black | #fcfcfdwhite |
| Card | #fcfcfcsnow | #04030cblack |
| Card foreground | #04030cblack | #ffffffwhite |
| Popover | #ffffffwhite | #030208black |
| Popover foreground | #050410black | #fcfcfdwhite |
| Primary | #3b3196darkslateblue | #3b3196darkslateblue |
| Primary foreground | #fbfbfeghostwhite | #fbfbfeghostwhite |
| Secondary | #cdcdd0lightgrey | #1f1e24black |
| Secondary foreground | #343437darkslategray | #b6b5c0silver |
| Muted | #e8e7f4lavender | #0d0b18black |
| Muted foreground | #3e3d42darkslategray | #bdbdc2silver |
| Accent | #bab9c6silver | #282636darkslategray |
| Accent foreground | #23222adarkslategray | #bfbdd0silver |
| Destructive | #7a2e06saddlebrown | #e0550bchocolate |
| Destructive foreground | #fcceb6peachpuff | #ffffffwhite |
| Border | #e6e6ealavender | #1c1c22black |
| Input | #e6e6ealavender | #1c1c22black |
| Ring | #3b3196darkslateblue | #3b3196darkslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.36:1 | AAA |
| Text on card | 20.07:1 | AAA |
| Primary button | 9.86:1 | AAA |
| Secondary button | 7.83:1 | AAA |
| Muted text | 8.78:1 | AAA |
| Accent | 8.12:1 | AAA |
| Destructive | 6.58:1 | AA |
| Text on background | 20.15:1 | AAA |
| Text on card | 20.49:1 | AAA |
| Primary button | 9.86:1 | AAA |
| Secondary button | 8.12:1 | AAA |
| Muted text | 10.39:1 | AAA |
| Accent | 8.03:1 | AAA |
| Destructive | 3.82:1 | AA Large |
Paste this into your globals.css to use Okay Bluebell in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.12 0.03 287.297);
--muted: oklch(0.932 0.017 290.662);
--muted-foreground: oklch(0.363 0.009 290.559);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.12 0.03 287.297);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.109 0.026 287.955);
--border: oklch(0.926 0.006 290.888);
--input: oklch(0.926 0.006 290.888);
--primary: oklch(0.391 0.159 280.595);
--primary-foreground: oklch(0.989 0.003 290.948);
--secondary: oklch(0.85 0.004 290.925);
--secondary-foreground: oklch(0.326 0.006 290.688);
--accent: oklch(0.79 0.018 290.584);
--accent-foreground: oklch(0.258 0.014 289.947);
--destructive: oklch(0.406 0.115 43.118);
--destructive-foreground: oklch(0.885 0.061 49.847);
--ring: oklch(0.391 0.159 280.595);
--chart-1: oklch(0.391 0.159 280.595);
--chart-2: oklch(0.85 0.004 290.925);
--chart-3: oklch(0.79 0.018 290.584);
--chart-4: oklch(0.874 0.003 290.942);
--chart-5: oklch(0.387 0.167 279.667);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.022 288.162);
--foreground: oklch(0.991 0.002 290.982);
--muted: oklch(0.161 0.027 287.549);
--muted-foreground: oklch(0.799 0.007 290.846);
--popover: oklch(0.095 0.022 288.162);
--popover-foreground: oklch(0.991 0.002 290.982);
--card: oklch(0.109 0.025 288.044);
--card-foreground: oklch(1 0 180);
--border: oklch(0.228 0.012 290.02);
--input: oklch(0.228 0.012 290.02);
--primary: oklch(0.391 0.159 280.595);
--primary-foreground: oklch(0.989 0.003 290.948);
--secondary: oklch(0.24 0.01 290.211);
--secondary-foreground: oklch(0.776 0.016 290.635);
--accent: oklch(0.278 0.029 288.973);
--accent-foreground: oklch(0.807 0.027 290.383);
--destructive: oklch(0.627 0.187 41.599);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.391 0.159 280.595);
--chart-1: oklch(0.391 0.159 280.595);
--chart-2: oklch(0.24 0.01 290.211);
--chart-3: oklch(0.278 0.029 288.973);
--chart-4: oklch(0.27 0.012 290.16);
--chart-5: oklch(0.387 0.167 279.667);
}