PreviewingGo to this paletteOpen in generator
Code
/* Chambray Haze — colorset.net */
:root {
--color-1: #B0C4DE;
--color-2: #87CEEB;
--color-3: #87CEFA;
--color-4: #ADD8E6;
--color-5: #E0F6FF;
--color-bg: #E0F6FF;
--color-surface: #F1FBFF;
--color-border: #C4DEE9;
--color-text: #415268;
--color-muted: #5E6F84;
--color-primary: #4B92BB;
--color-on-primary: #000000;
--color-accent: #798D95;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1017;
--color-surface: #141A21;
--color-border: #262E39;
--color-text: #E0F6FF;
--color-muted: #788C94;
--color-primary: #87CEFA;
--color-on-primary: #0A1017;
--color-accent: #ADD8E6;
--color-on-accent: #0A1017;
}
}
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 5 | adjusted for contrast · from #B0C4DE |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B0C4DE | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #87CEEB | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B0C4DE | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.14:1 | AAA pass 4.5:1 | |
| Text on surface | 7.59:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.60:1 | AA pass 4.5:1 | |
| Label on primary | 6.13:1 | AA pass 4.5:1 | |
| Label on accent | 6.06:1 | AA pass 4.5:1 | |
| Primary on background | 3.07:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.10:1 | AAA pass 4.5:1 | |
| Text on surface | 15.67:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.44:1 | AA pass 4.5:1 | |
| Label on primary | 11.13:1 | AAA pass 4.5:1 | |
| Label on accent | 12.50:1 | AAA pass 4.5:1 | |
| Primary on background | 11.13:1 | AAA pass 3:1 | |
| Accent on background | 12.50: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 | #B0C4DE (Text 1) | #87CEEB (Text 2) | #87CEFA (Text 3) | #ADD8E6 (Text 4) | #E0F6FF (Text 5) |
|---|---|---|---|---|---|
| #B0C4DE | Same color | 1.02— | 1.04— | 1.16— | 1.59— |
| #87CEEB | 1.02— | Same color | 1.01— | 1.14— | 1.56— |
| #87CEFA | 1.04— | 1.01— | Same color | 1.12— | 1.54— |
| #ADD8E6 | 1.16— | 1.14— | 1.12— | Same color | 1.37— |
| #E0F6FF | 1.59— | 1.56— | 1.54— | 1.37— | Same color |
Shades
Shades and tints (50–950)
