PreviewingGo to this paletteOpen in generator
Code
/* API Blue — colorset.net */
:root {
--color-1: #61DAFB;
--color-2: #21759B;
--color-3: #00D084;
--color-4: #00A8CC;
--color-5: #0078D4;
--color-bg: #EAFAFF;
--color-surface: #E0F1F7;
--color-border: #C4D9E0;
--color-text: #005575;
--color-muted: #536E7E;
--color-primary: #0078D4;
--color-on-primary: #FFFFFF;
--color-accent: #008653;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #00121C;
--color-surface: #061C27;
--color-border: #17313F;
--color-text: #A4D0DE;
--color-muted: #678892;
--color-primary: #0078D4;
--color-on-primary: #FFFFFF;
--color-accent: #00D084;
--color-on-accent: #00121C;
}
}
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 #61DAFB | adjusted for contrast · from #21759B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #21759B | adjusted for contrast · from #61DAFB |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #21759B | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 4.63:1 | AA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 4.33:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.47:1 | AAA pass 4.5:1 | |
| Text on surface | 10.52:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 9.39:1 | AAA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 9.39: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 | #61DAFB (Text 1) | #21759B (Text 2) | #00D084 (Text 3) | #00A8CC (Text 4) | #0078D4 (Text 5) |
|---|---|---|---|---|---|
| #61DAFB | Same color | 3.17AA Large | 1.25— | 1.73— | 2.79— |
| #21759B | 3.17AA Large | Same color | 2.54— | 1.83— | 1.14— |
| #00D084 | 1.25— | 2.54— | Same color | 1.39— | 2.23— |
| #00A8CC | 1.73— | 1.83— | 1.39— | Same color | 1.61— |
| #0078D4 | 2.79— | 1.14— | 2.23— | 1.61— | Same color |
Shades
Shades and tints (50–950)
