Pleasant Lapis Blue is a shadcn/ui theme built around a vivid deep blue primary color (#05508a) with muted blue accents (#b0bec9). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid deep blue primary (#05508a) on a blue-tinted background (#070b0e).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #070b0eblack |
| Foreground | #000000black | #fcfdfdwhite |
| Card | #f6fafdghostwhite | #080d11black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f6fafdghostwhite | #080d11black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #05508ateal | #05508ateal |
| Primary foreground | #c4e4fdpaleturquoise | #c4e4fdpaleturquoise |
| Secondary | #cacfd3lightgrey | #212426darkslategray |
| Secondary foreground | #31363adarkslategray | #b8bdc1silver |
| Muted | #dfe6eclavender | #131a20black |
| Muted foreground | #434b51darkslategray | #aeb6bcsilver |
| Accent | #b0bec9silver | #283239darkslategray |
| Accent foreground | #1d252adarkslategray | #c0cbd3lightgrey |
| Destructive | #a1140cfirebrick | #df1b11crimson |
| Destructive foreground | #fde4e3mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #05508ateal | #05508ateal |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.53:1 | AAA |
| Text on card | 20.07:1 | AAA |
| Primary button | 6.27:1 | AA |
| Secondary button | 7.79:1 | AAA |
| Muted text | 7.06:1 | AAA |
| Accent | 8.21:1 | AAA |
| Destructive | 6.62:1 | AA |
| Text on background | 19.41:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 6.27:1 | AA |
| Secondary button | 8.23:1 | AAA |
| Muted text | 8.51:1 | AAA |
| Accent | 7.96:1 | AAA |
| Destructive | 4.88:1 | AA |
Paste this into your globals.css to use Pleasant Lapis Blue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 240.324);
--foreground: oklch(0 0 0);
--muted: oklch(0.922 0.01 240.439);
--muted-foreground: oklch(0.408 0.014 240.76);
--popover: oklch(0.984 0.006 240.366);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.984 0.006 240.366);
--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.424 0.115 249.417);
--primary-foreground: oklch(0.904 0.048 241.054);
--secondary: oklch(0.852 0.008 240.405);
--secondary-foreground: oklch(0.33 0.011 240.731);
--accent: oklch(0.795 0.022 240.672);
--accent-foreground: oklch(0.258 0.016 241.174);
--destructive: oklch(0.454 0.175 29.306);
--destructive-foreground: oklch(0.938 0.028 21.279);
--ring: oklch(0.424 0.115 249.417);
--chart-1: oklch(0.424 0.115 249.417);
--chart-2: oklch(0.852 0.008 240.405);
--chart-3: oklch(0.795 0.022 240.672);
--chart-4: oklch(0.876 0.006 240.383);
--chart-5: oklch(0.426 0.118 249.78);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.145 0.01 238.679);
--foreground: oklch(0.992 0.001 240.303);
--muted: oklch(0.215 0.015 241.308);
--muted-foreground: oklch(0.772 0.012 240.495);
--popover: oklch(0.157 0.012 240.909);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.157 0.012 240.909);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.424 0.115 249.417);
--primary-foreground: oklch(0.904 0.048 241.054);
--secondary: oklch(0.258 0.006 240.596);
--secondary-foreground: oklch(0.796 0.008 240.425);
--accent: oklch(0.31 0.018 241.141);
--accent-foreground: oklch(0.835 0.016 240.546);
--destructive: oklch(0.575 0.225 29.405);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.424 0.115 249.417);
--chart-1: oklch(0.424 0.115 249.417);
--chart-2: oklch(0.258 0.006 240.596);
--chart-3: oklch(0.31 0.018 241.141);
--chart-4: oklch(0.29 0.007 240.613);
--chart-5: oklch(0.426 0.118 249.78);
}