PreviewingGo to this paletteOpen in generator
Code
/* Crystal Electric — colorset.net */
:root {
--color-1: #E0FFFF;
--color-2: #00FFFF;
--color-3: #2F4F4F;
--color-4: #AFEEEE;
--color-5: #33FFFF;
--color-bg: #E0FFFF;
--color-surface: #D7F6F6;
--color-border: #BBDEDE;
--color-text: #2F4F4F;
--color-muted: #507171;
--color-primary: #008484;
--color-on-primary: #FFFFFF;
--color-accent: #738F8F;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #071111;
--color-surface: #111C1C;
--color-border: #223131;
--color-text: #E0FFFF;
--color-muted: #769292;
--color-primary: #00FFFF;
--color-on-primary: #071111;
--color-accent: #4D6E6E;
--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 | from palette · color 1 | adjusted for contrast · from #2F4F4F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 3 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #2F4F4F | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #2F4F4F | adjusted for contrast · from #2F4F4F |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.47:1 | AAA pass 4.5:1 | |
| Text on surface | 7.82:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 6.05:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 3.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.15:1 | AAA pass 4.5:1 | |
| Text on surface | 16.51:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.74:1 | AA pass 4.5:1 | |
| Label on primary | 15.26:1 | AAA pass 4.5:1 | |
| Label on accent | 5.57:1 | AA pass 4.5:1 | |
| Primary on background | 15.26:1 | AAA pass 3:1 | |
| Accent on background | 3.44: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 | #E0FFFF (Text 1) | #00FFFF (Text 2) | #2F4F4F (Text 3) | #AFEEEE (Text 4) | #33FFFF (Text 5) |
|---|---|---|---|---|---|
| #E0FFFF | Same color | 1.19— | 8.47AAA | 1.22— | 1.18— |
| #00FFFF | 1.19— | Same color | 7.12AAA | 1.03— | 1.01— |
| #2F4F4F | 8.47AAA | 7.12AAA | Same color | 6.92AA | 7.18AAA |
| #AFEEEE | 1.22— | 1.03— | 6.92AA | Same color | 1.04— |
| #33FFFF | 1.18— | 1.01— | 7.18AAA | 1.04— | Same color |
Shades
Shades and tints (50–950)
