PreviewingGo to this paletteOpen in generator
Code
/* Topaz Lake — colorset.net */
:root {
--color-1: #5DADE2;
--color-2: #3498DB;
--color-3: #2E86C1;
--color-4: #2874A6;
--color-5: #21618C;
--color-bg: #EFF8FF;
--color-surface: #E2F0FA;
--color-border: #C7D8E4;
--color-text: #14537B;
--color-muted: #566E80;
--color-primary: #1E7AB4;
--color-on-primary: #FFFFFF;
--color-accent: #004871;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #02111D;
--color-surface: #091B28;
--color-border: #1B3040;
--color-text: #88A9C1;
--color-muted: #6D8698;
--color-primary: #1E7AB4;
--color-on-primary: #FFFFFF;
--color-accent: #5DADE2;
--color-on-accent: #02111D;
}
}
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 #21618C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #21618C | adjusted for contrast · from #5DADE2 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #2874A6 | adjusted for contrast · from #2874A6 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #21618C | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.65:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 9.70:1 | AAA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 9.02:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.72:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 7.76:1 | AAA pass 4.5:1 | |
| Primary on background | 4.09:1 | AA Large pass 3:1 | |
| Accent on background | 7.76: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 | #5DADE2 (Text 1) | #3498DB (Text 2) | #2E86C1 (Text 3) | #2874A6 (Text 4) | #21618C (Text 5) |
|---|---|---|---|---|---|
| #5DADE2 | Same color | 1.28— | 1.61— | 2.06— | 2.71— |
| #3498DB | 1.28— | Same color | 1.26— | 1.61— | 2.11— |
| #2E86C1 | 1.61— | 1.26— | Same color | 1.28— | 1.68— |
| #2874A6 | 2.06— | 1.61— | 1.28— | Same color | 1.31— |
| #21618C | 2.71— | 2.11— | 1.68— | 1.31— | Same color |
Shades
Shades and tints (50–950)
