PreviewingGo to this paletteOpen in generator
Code
/* Electric Reef — colorset.net */
:root {
--color-1: #00B4BB;
--color-2: #0778FF;
--color-3: #F84B9F;
--color-4: #EDC812;
--color-5: #0A2559;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #0E2655;
--color-muted: #5D6A81;
--color-primary: #006FF0;
--color-on-primary: #FFFFFF;
--color-accent: #A28700;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #070F1F;
--color-surface: #10192A;
--color-border: #232E42;
--color-text: #D4CBA6;
--color-muted: #8A8368;
--color-primary: #006FF0;
--color-on-primary: #FFFFFF;
--color-accent: #EDC812;
--color-on-accent: #070F1F;
}
}
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 #EDC812 | adjusted for contrast · from #0A2559 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0A2559 | adjusted for contrast · from #EDC812 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #0778FF | adjusted for contrast · from #0778FF |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #00B4BB | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.71:1 | AAA pass 4.5:1 | |
| Text on surface | 12.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 6.00:1 | AA pass 4.5:1 | |
| Primary on background | 4.32:1 | AA Large pass 3:1 | |
| Accent on background | 3.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.75:1 | AAA pass 4.5:1 | |
| Text on surface | 10.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 11.73:1 | AAA pass 4.5:1 | |
| Primary on background | 4.13:1 | AA Large pass 3:1 | |
| Accent on background | 11.73: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 | #00B4BB (Text 1) | #0778FF (Text 2) | #F84B9F (Text 3) | #EDC812 (Text 4) | #0A2559 (Text 5) |
|---|---|---|---|---|---|
| #00B4BB | Same color | 1.60— | 1.27— | 1.56— | 5.80AA |
| #0778FF | 1.60— | Same color | 1.26— | 2.50— | 3.61AA Large |
| #F84B9F | 1.27— | 1.26— | Same color | 1.98— | 4.57AA |
| #EDC812 | 1.56— | 2.50— | 1.98— | Same color | 9.05AAA |
| #0A2559 | 5.80AA | 3.61AA Large | 4.57AA | 9.05AAA | Same color |
Shades
Shades and tints (50–950)
