Pastel Blue 3 is a shadcn/ui theme built around a vivid light blue primary color (#ccdeff) with muted light blue accents (#d2d7e0). The light mode uses a neutral background (#fbfcfe). Dark mode switches to a light blue primary (#b6cbf3) on a neutral background (#020203).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #020203black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f7f9fdghostwhite | #040507black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fbfcfewhite | #020203black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #ccdefflavender | #b6cbf3lightblue |
| Primary foreground | #003699darkblue | #003699darkblue |
| Secondary | #d2d7e0gainsboro | #272c34darkslategray |
| Secondary foreground | #343c4bdarkslategray | #bfc5cfsilver |
| Muted | #e0e6f0lavender | #0f141fblack |
| Muted foreground | #51555ddimgray | #a2a6aedarkgray |
| Accent | #d2d7e0gainsboro | #272c34darkslategray |
| Accent foreground | #343c4bdarkslategray | #bfc5cfsilver |
| Destructive | #bb1a11firebrick | #ee4d44tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e2e4e9gainsboro | #181b20black |
| Input | #e2e4e9gainsboro | #181b20black |
| Ring | #ccdefflavender | #ccdefflavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.44:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 7.77:1 | AAA |
| Secondary button | 7.65:1 | AAA |
| Muted text | 5.94:1 | AA |
| Accent | 7.65:1 | AAA |
| Destructive | 6.44:1 | AA |
| Text on background | 20.71:1 | AAA |
| Text on card | 20.43:1 | AAA |
| Primary button | 6.45:1 | AA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 7.52:1 | AAA |
| Accent | 8.07:1 | AAA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Pastel Blue 3 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 263.048);
--foreground: oklch(0 0 0);
--muted: oklch(0.922 0.016 263.016);
--muted-foreground: oklch(0.448 0.014 262.97);
--popover: oklch(0.991 0.003 263.048);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.006 263.042);
--card-foreground: oklch(0 0 0);
--border: oklch(0.92 0.007 263.04);
--input: oklch(0.92 0.007 263.04);
--primary: oklch(0.897 0.05 262.865);
--primary-foreground: oklch(0.376 0.17 261.694);
--secondary: oklch(0.877 0.013 263.022);
--secondary-foreground: oklch(0.356 0.028 262.736);
--accent: oklch(0.877 0.013 263.022);
--accent-foreground: oklch(0.356 0.028 262.736);
--destructive: oklch(0.507 0.194 29.262);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.897 0.05 262.865);
--chart-1: oklch(0.897 0.05 262.865);
--chart-2: oklch(0.877 0.013 263.022);
--chart-3: oklch(0.877 0.013 263.022);
--chart-4: oklch(0.902 0.011 263.03);
--chart-5: oklch(0.897 0.051 262.857);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.088 0.006 258.904);
--foreground: oklch(1 0 180);
--muted: oklch(0.193 0.024 262.461);
--muted-foreground: oklch(0.726 0.012 263.017);
--popover: oklch(0.088 0.006 258.904);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.111 0.008 258.904);
--card-foreground: oklch(1 0 180);
--border: oklch(0.221 0.011 262.895);
--input: oklch(0.221 0.011 262.895);
--primary: oklch(0.84 0.061 263.254);
--primary-foreground: oklch(0.376 0.17 261.694);
--secondary: oklch(0.292 0.017 262.859);
--secondary-foreground: oklch(0.821 0.016 263.011);
--accent: oklch(0.292 0.017 262.859);
--accent-foreground: oklch(0.821 0.016 263.011);
--destructive: oklch(0.643 0.199 27.216);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.897 0.05 262.865);
--chart-1: oklch(0.84 0.061 263.254);
--chart-2: oklch(0.292 0.017 262.859);
--chart-3: oklch(0.292 0.017 262.859);
--chart-4: oklch(0.321 0.019 262.848);
--chart-5: oklch(0.838 0.063 263.234);
}