Ethical Delos Blue is a shadcn/ui theme built around a vivid cyan primary color (#1aa0c1) with vivid green accents (#a0c11a). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid cyan primary (#1aa0c1) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #000000black |
| Foreground | #051215black | #ffffffwhite |
| Card | #f7fcfdghostwhite | #030303black |
| Card foreground | #040e11black | #ffffffwhite |
| Popover | #f7fcfdghostwhite | #030303black |
| Popover foreground | #040e11black | #ffffffwhite |
| Primary | #1aa0c1lightseagreen | #1aa0c1lightseagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #c11aa0mediumvioletred | #c11aa0mediumvioletred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e0d2ddgainsboro | #2d1f2adarkslategray |
| Muted foreground | #674c61dimgray | #b398aedarkgray |
| Accent | #a0c11ayellowgreen | #a0c11ayellowgreen |
| Accent foreground | #0b0d02black | #0b0d02black |
| Destructive | #bc1010firebrick | #e61414red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e1e4e5gainsboro | #171b1cblack |
| Input | #e1e4e5gainsboro | #171b1cblack |
| Ring | #1aa0c1lightseagreen | #1aa0c1lightseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.69:1 | AAA |
| Text on card | 18.84:1 | AAA |
| Primary button | 3.07:1 | AA Large |
| Secondary button | 5.35:1 | AA |
| Muted text | 5.17:1 | AA |
| Accent | 9.44:1 | AAA |
| Destructive | 6.53:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 3.07:1 | AA Large |
| Secondary button | 5.35:1 | AA |
| Muted text | 5.95:1 | AA |
| Accent | 9.44:1 | AAA |
| Destructive | 4.69:1 | AA |
Paste this into your globals.css to use Ethical Delos Blue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 214.325);
--foreground: oklch(0.169 0.021 214.547);
--muted: oklch(0.878 0.021 332.359);
--muted-foreground: oklch(0.452 0.048 333.513);
--popover: oklch(0.987 0.006 214.333);
--popover-foreground: oklch(0.154 0.018 213.184);
--card: oklch(0.987 0.006 214.333);
--card-foreground: oklch(0.154 0.018 213.184);
--border: oklch(0.917 0.004 214.328);
--input: oklch(0.917 0.004 214.328);
--primary: oklch(0.654 0.115 220.641);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.558 0.23 338.629);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.759 0.177 121.573);
--accent-foreground: oklch(0.154 0.028 117.018);
--destructive: oklch(0.504 0.199 28.414);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.654 0.115 220.641);
--chart-1: oklch(0.654 0.115 220.641);
--chart-2: oklch(0.558 0.23 338.629);
--chart-3: oklch(0.759 0.177 121.573);
--chart-4: oklch(0.586 0.242 338.669);
--chart-5: oklch(0.66 0.117 221.059);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.262 0.029 333.536);
--muted-foreground: oklch(0.711 0.043 332.882);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.218 0.005 214.405);
--input: oklch(0.218 0.005 214.405);
--primary: oklch(0.654 0.115 220.641);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.558 0.23 338.629);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.759 0.177 121.573);
--accent-foreground: oklch(0.154 0.028 117.018);
--destructive: oklch(0.586 0.233 28.543);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.654 0.115 220.641);
--chart-1: oklch(0.654 0.115 220.641);
--chart-2: oklch(0.558 0.23 338.629);
--chart-3: oklch(0.759 0.177 121.573);
--chart-4: oklch(0.586 0.242 338.669);
--chart-5: oklch(0.66 0.117 221.059);
}