Bleu De France Haddock is a shadcn/ui theme built around a blue primary color (#3b8cd8) with muted light blue accents (#ccd4db). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the blue primary (#3b8cd8) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcfdwhite | #000000black |
| Foreground | #000000black | #f6f7f9whitesmoke |
| Card | #f8fafcghostwhite | #030303black |
| Card foreground | #000000black | #f9fafbghostwhite |
| Popover | #f8fafcghostwhite | #030303black |
| Popover foreground | #000000black | #f9fafbghostwhite |
| Primary | #3b8cd8royalblue | #3b8cd8royalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #ccd4dblightgrey | #313335darkslategray |
| Secondary foreground | #313b45darkslategray | #cacccelightgrey |
| Muted | #e8ebedlavender | #121417black |
| Muted foreground | #61666bdimgray | #94999edarkgray |
| Accent | #ccd4dblightgrey | #313335darkslategray |
| Accent foreground | #313b45darkslategray | #cacccelightgrey |
| Destructive | #881807darkred | #ed2a0corangered |
| Destructive foreground | #fcccc5pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3b8cd8royalblue | #3b8cd8royalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.53:1 | AAA |
| Text on card | 20.06:1 | AAA |
| Primary button | 3.52:1 | AA Large |
| Secondary button | 7.60:1 | AAA |
| Muted text | 4.83:1 | AA |
| Accent | 7.60:1 | AAA |
| Destructive | 6.69:1 | AA |
| Text on background | 19.59:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 3.52:1 | AA Large |
| Secondary button | 7.87:1 | AAA |
| Muted text | 6.40:1 | AA |
| Accent | 7.87:1 | AAA |
| Destructive | 4.23:1 | AA Large |
Paste this into your globals.css to use Bleu De France Haddock in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.001 245.982);
--foreground: oklch(0 0 0);
--muted: oklch(0.938 0.004 246.018);
--muted-foreground: oklch(0.508 0.01 246.196);
--popover: oklch(0.984 0.003 245.999);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.984 0.003 245.999);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.627 0.139 249.793);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.866 0.013 246.137);
--secondary-foreground: oklch(0.347 0.022 246.686);
--accent: oklch(0.866 0.013 246.137);
--accent-foreground: oklch(0.347 0.022 246.686);
--destructive: oklch(0.406 0.148 31.547);
--destructive-foreground: oklch(0.885 0.055 28.382);
--ring: oklch(0.627 0.139 249.793);
--chart-1: oklch(0.627 0.139 249.793);
--chart-2: oklch(0.866 0.013 246.137);
--chart-3: oklch(0.866 0.013 246.137);
--chart-4: oklch(0.89 0.011 246.103);
--chart-5: oklch(0.628 0.145 250.069);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.976 0.003 246.003);
--muted: oklch(0.192 0.006 246.336);
--muted-foreground: oklch(0.681 0.009 246.126);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.984 0.002 245.991);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.984 0.002 245.991);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.627 0.139 249.793);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.32 0.005 246.131);
--secondary-foreground: oklch(0.844 0.004 246.016);
--accent: oklch(0.32 0.005 246.131);
--accent-foreground: oklch(0.844 0.004 246.016);
--destructive: oklch(0.61 0.23 31.251);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.627 0.139 249.793);
--chart-1: oklch(0.627 0.139 249.793);
--chart-2: oklch(0.32 0.005 246.131);
--chart-3: oklch(0.32 0.005 246.131);
--chart-4: oklch(0.35 0.005 246.135);
--chart-5: oklch(0.628 0.145 250.069);
}