Pastel Blue is a shadcn/ui theme built around a blue primary color (#89aaeb) with near-white accents (#e7e8e9). The light mode uses a neutral background (#fbfcfd). Dark mode keeps the blue primary (#89aaeb) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfdwhite | #000000black |
| Foreground | #020812black | #ffffffwhite |
| Card | #fbfcfdwhite | #000000black |
| Card foreground | #020812black | #ffffffwhite |
| Popover | #fbfcfdwhite | #000000black |
| Popover foreground | #020812black | #ffffffwhite |
| Primary | #89aaebskyblue | #89aaebskyblue |
| Primary foreground | #0a1939midnightblue | #0a1939midnightblue |
| Secondary | #e7e8e9lavender | #17191cblack |
| Secondary foreground | #4d4e51darkslategray | #aab0bbdarkgray |
| Muted | #d2daeagainsboro | #151d2dblack |
| Muted foreground | #4f5869dimgray | #969fb0darkgray |
| Accent | #e7e8e9lavender | #17191cblack |
| Accent foreground | #4d4e51darkslategray | #aab0bbdarkgray |
| Destructive | #b74406firebrick | #df5207chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #eeeff2whitesmoke | #1d2025black |
| Input | #eeeff2whitesmoke | #1d2025black |
| Ring | #89aaebskyblue | #89aaebskyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.57:1 | AAA |
| Text on card | 19.57:1 | AAA |
| Primary button | 7.43:1 | AAA |
| Secondary button | 6.77:1 | AA |
| Muted text | 5.09:1 | AA |
| Accent | 6.77:1 | AA |
| Destructive | 5.47:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 7.43:1 | AAA |
| Secondary button | 8.11:1 | AAA |
| Muted text | 6.31:1 | AA |
| Accent | 8.11:1 | AAA |
| Destructive | 3.92:1 | AA Large |
Paste this into your globals.css to use Pastel Blue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 264.545);
--foreground: oklch(0.131 0.028 255.202);
--muted: oklch(0.887 0.024 264.448);
--muted-foreground: oklch(0.458 0.03 264.217);
--popover: oklch(0.991 0.002 264.545);
--popover-foreground: oklch(0.131 0.028 255.202);
--card: oklch(0.991 0.002 264.545);
--card-foreground: oklch(0.131 0.028 255.202);
--border: oklch(0.952 0.004 264.539);
--input: oklch(0.952 0.004 264.539);
--primary: oklch(0.739 0.102 263.652);
--primary-foreground: oklch(0.222 0.065 262.423);
--secondary: oklch(0.93 0.001 264.547);
--secondary-foreground: oklch(0.425 0.006 264.506);
--accent: oklch(0.93 0.001 264.547);
--accent-foreground: oklch(0.425 0.006 264.506);
--destructive: oklch(0.538 0.161 41.541);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.739 0.102 263.652);
--chart-1: oklch(0.739 0.102 263.652);
--chart-2: oklch(0.93 0.001 264.547);
--chart-3: oklch(0.93 0.001 264.547);
--chart-4: oklch(0.954 0.001 264.548);
--chart-5: oklch(0.737 0.106 263.598);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.232 0.033 263.607);
--muted-foreground: oklch(0.701 0.027 264.386);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--card-foreground: oklch(1 0 180);
--border: oklch(0.242 0.012 264.326);
--input: oklch(0.242 0.012 264.326);
--primary: oklch(0.739 0.102 263.652);
--primary-foreground: oklch(0.222 0.065 262.423);
--secondary: oklch(0.211 0.008 264.391);
--secondary-foreground: oklch(0.755 0.017 264.465);
--accent: oklch(0.211 0.008 264.391);
--accent-foreground: oklch(0.755 0.017 264.465);
--destructive: oklch(0.621 0.188 41.093);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.739 0.102 263.652);
--chart-1: oklch(0.739 0.102 263.652);
--chart-2: oklch(0.211 0.008 264.391);
--chart-3: oklch(0.211 0.008 264.391);
--chart-4: oklch(0.243 0.01 264.372);
--chart-5: oklch(0.737 0.106 263.598);
}