PreviewingGo to this paletteOpen in generator
Code
/* Glass Dolphin — colorset.net */
:root {
--color-1: #E9F3FF;
--color-2: #5A8DEE;
--color-3: #F79AD3;
--color-4: #C3D9F7;
--color-5: #1A2140;
--color-bg: #E9F3FF;
--color-surface: #F5FAFF;
--color-border: #CEDBE9;
--color-text: #1A2140;
--color-muted: #646C85;
--color-primary: #578AEB;
--color-on-primary: #1A2140;
--color-accent: #C46CA3;
--color-on-accent: #1A2140;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A2140;
--color-surface: #242C4C;
--color-border: #3D445A;
--color-text: #E9F3FF;
--color-muted: #8F98A3;
--color-primary: #5A8DEE;
--color-on-primary: #1A2140;
--color-accent: #F79AD3;
--color-on-accent: #1A2140;
}
}
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 | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #5A8DEE | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F79AD3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.02:1 | AAA pass 4.5:1 | |
| Text on surface | 14.98:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.65:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 3.00:1 | AA Large pass 3:1 | |
| Accent on background | 3.11:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.02:1 | AAA pass 4.5:1 | |
| Text on surface | 12.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.38:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 7.88:1 | AAA pass 4.5:1 | |
| Primary on background | 4.85:1 | AA pass 3:1 | |
| Accent on background | 7.88: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 | #E9F3FF (Text 1) | #5A8DEE (Text 2) | #F79AD3 (Text 3) | #C3D9F7 (Text 4) | #1A2140 (Text 5) |
|---|---|---|---|---|---|
| #E9F3FF | Same color | 2.89— | 1.78— | 1.28— | 14.02AAA |
| #5A8DEE | 2.89— | Same color | 1.62— | 2.25— | 4.85AA |
| #F79AD3 | 1.78— | 1.62— | Same color | 1.39— | 7.88AAA |
| #C3D9F7 | 1.28— | 2.25— | 1.39— | Same color | 10.92AAA |
| #1A2140 | 14.02AAA | 4.85AA | 7.88AAA | 10.92AAA | Same color |
Shades
Shades and tints (50–950)
