PreviewingGo to this paletteOpen in generator
Code
/* Prussian Blue — colorset.net */
:root {
--color-1: #003153;
--color-2: #003F5C;
--color-3: #004F73;
--color-4: #005F89;
--color-5: #2E5090;
--color-bg: #EFF8FF;
--color-surface: #E2F0FA;
--color-border: #C6D8E4;
--color-text: #003153;
--color-muted: #586D81;
--color-primary: #2E5090;
--color-on-primary: #FFFFFF;
--color-accent: #6383BD;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #04111C;
--color-surface: #0D1B27;
--color-border: #1E303F;
--color-text: #88AAC1;
--color-muted: #6D8798;
--color-primary: #4467A9;
--color-on-primary: #FFFFFF;
--color-accent: #7B9BD7;
--color-on-accent: #04111C;
}
}
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 #005F89 | adjusted for contrast · from #003153 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #005F89 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #005F89 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #005F89 | adjusted for contrast · from #005F89 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.49:1 | AAA pass 4.5:1 | |
| Text on surface | 11.56:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 7.88:1 | AAA pass 4.5:1 | |
| Label on accent | 5.51:1 | AA pass 4.5:1 | |
| Primary on background | 7.33:1 | AAA pass 3:1 | |
| Accent on background | 3.55:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 5.59:1 | AA pass 4.5:1 | |
| Label on accent | 6.82:1 | AA pass 4.5:1 | |
| Primary on background | 3.41:1 | AA Large pass 3:1 | |
| Accent on background | 6.82:1 | AA 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 | #003153 (Text 1) | #003F5C (Text 2) | #004F73 (Text 3) | #005F89 (Text 4) | #2E5090 (Text 5) |
|---|---|---|---|---|---|
| #003153 | Same color | 1.19— | 1.51— | 1.92— | 1.70— |
| #003F5C | 1.19— | Same color | 1.27— | 1.61— | 1.43— |
| #004F73 | 1.51— | 1.27— | Same color | 1.27— | 1.13— |
| #005F89 | 1.92— | 1.61— | 1.27— | Same color | 1.12— |
| #2E5090 | 1.70— | 1.43— | 1.13— | 1.12— | Same color |
Shades
Shades and tints (50–950)
