Reliable is a shadcn/ui theme built around a muted light blue primary color (#e5e9f0) with muted light blue accents (#bac5d8). The light mode uses a neutral background (#f6f9fd). Dark mode keeps the muted light blue primary (#e5e9f0) on a blue-tinted background (#04070b).
| Token | Light | Dark |
|---|---|---|
| Background | #f6f9fdghostwhite | #04070bblack |
| Foreground | #000000black | #f9fafbghostwhite |
| Card | #f6f9fdghostwhite | #04070bblack |
| Card foreground | #000000black | #f9fafbghostwhite |
| Popover | #f6f9fdghostwhite | #04070bblack |
| Popover foreground | #000000black | #f9fafbghostwhite |
| Primary | #e5e9f0lavender | #e5e9f0lavender |
| Primary foreground | #3b4b68darkslategray | #3b4b68darkslategray |
| Secondary | #d7dce4gainsboro | #161718black |
| Secondary foreground | #374153darkslategray | #aeafb2darkgray |
| Muted | #d5ddecgainsboro | #131b2ablack |
| Muted foreground | #53575fdimgray | #a0a4acdarkgray |
| Accent | #bac5d8lightsteelblue | #23252adarkslategray |
| Accent foreground | #232c3edarkslategray | #babec5silver |
| Destructive | #79300bsaddlebrown | #db5714chocolate |
| Destructive foreground | #f9d1bepeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e5e9f0lavender | #e5e9f0lavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.89:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 7.20:1 | AAA |
| Secondary button | 7.46:1 | AAA |
| Muted text | 5.31:1 | AA |
| Accent | 8.04:1 | AAA |
| Destructive | 6.63:1 | AA |
| Text on background | 19.34:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 7.20:1 | AAA |
| Secondary button | 8.19:1 | AAA |
| Muted text | 6.88:1 | AA |
| Accent | 8.21:1 | AAA |
| Destructive | 3.89:1 | AA Large |
Paste this into your globals.css to use Reliable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 263.042);
--foreground: oklch(0 0 0);
--muted: oklch(0.896 0.022 262.994);
--muted-foreground: oklch(0.457 0.014 262.97);
--popover: oklch(0.981 0.006 263.042);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.006 263.042);
--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.933 0.011 263.031);
--primary-foreground: oklch(0.411 0.054 262.399);
--secondary: oklch(0.893 0.013 263.024);
--secondary-foreground: oklch(0.373 0.033 262.674);
--accent: oklch(0.821 0.03 262.951);
--accent-foreground: oklch(0.294 0.035 262.485);
--destructive: oklch(0.408 0.112 42.863);
--destructive-foreground: oklch(0.891 0.052 48.114);
--ring: oklch(0.933 0.011 263.031);
--chart-1: oklch(0.933 0.011 263.031);
--chart-2: oklch(0.893 0.013 263.024);
--chart-3: oklch(0.821 0.03 262.951);
--chart-4: oklch(0.918 0.01 263.033);
--chart-5: oklch(0.932 0.012 263.027);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.013 256.785);
--foreground: oklch(0.984 0.001 263.051);
--muted: oklch(0.223 0.031 262.34);
--muted-foreground: oklch(0.717 0.013 263.015);
--popover: oklch(0.125 0.013 256.785);
--popover-foreground: oklch(0.984 0.001 263.051);
--card: oklch(0.125 0.013 256.785);
--card-foreground: oklch(0.984 0.001 263.051);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.933 0.011 263.031);
--primary-foreground: oklch(0.411 0.054 262.399);
--secondary: oklch(0.203 0.002 263.036);
--secondary-foreground: oklch(0.754 0.005 263.042);
--accent: oklch(0.265 0.009 262.959);
--accent-foreground: oklch(0.799 0.011 263.024);
--destructive: oklch(0.622 0.18 41.805);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.933 0.011 263.031);
--chart-1: oklch(0.933 0.011 263.031);
--chart-2: oklch(0.203 0.002 263.036);
--chart-3: oklch(0.265 0.009 262.959);
--chart-4: oklch(0.236 0.002 263.033);
--chart-5: oklch(0.932 0.012 263.027);
}