PreviewingGo to this paletteOpen in generator
Code
/* Chambray — colorset.net */
:root {
--color-1: #1560BD;
--color-2: #1E7ADC;
--color-3: #4094E8;
--color-4: #6BAEF2;
--color-5: #97C8F9;
--color-bg: #F1F8FF;
--color-surface: #E4EFFB;
--color-border: #C9D7E5;
--color-text: #2E5080;
--color-muted: #5D6D83;
--color-primary: #1474D5;
--color-on-primary: #FFFFFF;
--color-accent: #4C7AA7;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #06101E;
--color-surface: #0F1A29;
--color-border: #212E42;
--color-text: #ABC6E2;
--color-muted: #6F8499;
--color-primary: #1474D5;
--color-on-primary: #FFFFFF;
--color-accent: #6BAEF2;
--color-on-accent: #06101E;
}
}
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 #97C8F9 | adjusted for contrast · from #1560BD |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #1560BD | adjusted for contrast · from #97C8F9 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #1E7ADC | adjusted for contrast · from #1E7ADC |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #1E7ADC | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.61:1 | AAA pass 4.5:1 | |
| Text on surface | 7.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.68:1 | AA pass 4.5:1 | |
| Label on accent | 4.52:1 | AA pass 4.5:1 | |
| Primary on background | 4.37:1 | AA Large pass 3:1 | |
| Accent on background | 4.22:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.82:1 | AAA pass 4.5:1 | |
| Text on surface | 9.92:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 4.68:1 | AA pass 4.5:1 | |
| Label on accent | 8.14:1 | AAA pass 4.5:1 | |
| Primary on background | 4.08:1 | AA Large pass 3:1 | |
| Accent on background | 8.14: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 | #1560BD (Text 1) | #1E7ADC (Text 2) | #4094E8 (Text 3) | #6BAEF2 (Text 4) | #97C8F9 (Text 5) |
|---|---|---|---|---|---|
| #1560BD | Same color | 1.42— | 1.92— | 2.61— | 3.47AA Large |
| #1E7ADC | 1.42— | Same color | 1.36— | 1.84— | 2.45— |
| #4094E8 | 1.92— | 1.36— | Same color | 1.35— | 1.80— |
| #6BAEF2 | 2.61— | 1.84— | 1.35— | Same color | 1.33— |
| #97C8F9 | 3.47AA Large | 2.45— | 1.80— | 1.33— | Same color |
Shades
Shades and tints (50–950)
