PreviewingGo to this paletteOpen in generator
Code
/* Professional Blue — colorset.net */
:root {
--color-1: #154360;
--color-2: #1F618D;
--color-3: #2874A6;
--color-4: #3498DB;
--color-5: #5DADE2;
--color-bg: #EFF8FF;
--color-surface: #E2F0FA;
--color-border: #C7D8E4;
--color-text: #154360;
--color-muted: #556D7F;
--color-primary: #027CBD;
--color-on-primary: #FFFFFF;
--color-accent: #1F618D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #04111A;
--color-surface: #0D1B25;
--color-border: #1E303D;
--color-text: #88A9C1;
--color-muted: #6D8698;
--color-primary: #3498DB;
--color-on-primary: #04111A;
--color-accent: #3E6A89;
--color-on-accent: #FFFFFF;
}
}
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 #5DADE2 | adjusted for contrast · from #154360 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #5DADE2 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #2874A6 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #1F618D |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.75:1 | AAA pass 4.5:1 | |
| Text on surface | 9.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 6.66:1 | AA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 6.20:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.72:1 | AAA pass 4.5:1 | |
| Text on surface | 7.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 6.05:1 | AA pass 4.5:1 | |
| Label on accent | 5.79:1 | AA pass 4.5:1 | |
| Primary on background | 6.05:1 | AA pass 3:1 | |
| Accent on background | 3.30:1 | AA Large 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 | #154360 (Text 1) | #1F618D (Text 2) | #2874A6 (Text 3) | #3498DB (Text 4) | #5DADE2 (Text 5) |
|---|---|---|---|---|---|
| #154360 | Same color | 1.57— | 2.07— | 3.32AA Large | 4.26AA Large |
| #1F618D | 1.57— | Same color | 1.31— | 2.11— | 2.71— |
| #2874A6 | 2.07— | 1.31— | Same color | 1.61— | 2.06— |
| #3498DB | 3.32AA Large | 2.11— | 1.61— | Same color | 1.28— |
| #5DADE2 | 4.26AA Large | 2.71— | 2.06— | 1.28— | Same color |
Shades
Shades and tints (50–950)
