PreviewingGo to this paletteOpen in generator
Code
/* Corporate Blue — colorset.net */
:root {
--color-1: #003366;
--color-2: #336699;
--color-3: #6699CC;
--color-4: #99CCFF;
--color-5: #CCE6FF;
--color-bg: #F0F8FF;
--color-surface: #E7EFF6;
--color-border: #CCD6E1;
--color-text: #0B3460;
--color-muted: #5B6D82;
--color-primary: #336699;
--color-on-primary: #FFFFFF;
--color-accent: #728AA1;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #05101E;
--color-surface: #0E1A29;
--color-border: #1F2F42;
--color-text: #CCE6FF;
--color-muted: #71869B;
--color-primary: #36699C;
--color-on-primary: #FFFFFF;
--color-accent: #99CCFF;
--color-on-accent: #05101E;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | adjusted for contrast · from #CCE6FF | adjusted for contrast · from #003366 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #003366 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #336699 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6699CC | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.69:1 | AAA pass 4.5:1 | |
| Text on surface | 10.80:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 6.00:1 | AA pass 4.5:1 | |
| Label on accent | 5.87:1 | AA pass 4.5:1 | |
| Primary on background | 5.59:1 | AA pass 3:1 | |
| Accent on background | 3.34:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.85:1 | AAA pass 4.5:1 | |
| Text on surface | 13.63:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 5.74:1 | AA pass 4.5:1 | |
| Label on accent | 11.31:1 | AAA pass 4.5:1 | |
| Primary on background | 3.33:1 | AA Large pass 3:1 | |
| Accent on background | 11.31:1 | AAA pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #003366 (Text 1) | #336699 (Text 2) | #6699CC (Text 3) | #99CCFF (Text 4) | #CCE6FF (Text 5) |
|---|---|---|---|---|---|
| #003366 | Same color | 2.10— | 4.20AA Large | 7.47AAA | 9.81AAA |
| #336699 | 2.10— | Same color | 2.00— | 3.55AA Large | 4.66AA |
| #6699CC | 4.20AA Large | 2.00— | Same color | 1.78— | 2.34— |
| #99CCFF | 7.47AAA | 3.55AA Large | 1.78— | Same color | 1.31— |
| #CCE6FF | 9.81AAA | 4.66AA | 2.34— | 1.31— | Same color |
Shades
Shades and tints (50–950)
