PreviewingGo to this paletteOpen in generator
Code
/* Baby Blue Haze — colorset.net */
:root {
--color-1: #B0C4DE;
--color-2: #B0E0E6;
--color-3: #C3D9E8;
--color-4: #D7E9F7;
--color-5: #E6F3FF;
--color-bg: #E6F3FF;
--color-surface: #F3F9FF;
--color-border: #CBDBE9;
--color-text: #415268;
--color-muted: #5E6E84;
--color-primary: #798CA4;
--color-on-primary: #000000;
--color-accent: #4B5A6D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1017;
--color-surface: #141A21;
--color-border: #262E39;
--color-text: #E6F3FF;
--color-muted: #7E8A95;
--color-primary: #B0C4DE;
--color-on-primary: #0A1017;
--color-accent: #B0E0E6;
--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 #B0C4DE | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B0C4DE | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.08:1 | AAA pass 4.5:1 | |
| Text on surface | 7.53:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.61:1 | AA pass 4.5:1 | |
| Label on primary | 6.10:1 | AA pass 4.5:1 | |
| Label on accent | 7.04:1 | AAA pass 4.5:1 | |
| Primary on background | 3.05:1 | AA Large pass 3:1 | |
| Accent on background | 6.25:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.94:1 | AAA pass 4.5:1 | |
| Text on surface | 15.53:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.42:1 | AA pass 4.5:1 | |
| Label on primary | 10.73:1 | AAA pass 4.5:1 | |
| Label on accent | 13.33:1 | AAA pass 4.5:1 | |
| Primary on background | 10.73:1 | AAA pass 3:1 | |
| Accent on background | 13.33: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) | #B0E0E6 (Text 2) | #C3D9E8 (Text 3) | #D7E9F7 (Text 4) | #E6F3FF (Text 5) |
|---|---|---|---|---|---|
| #B0C4DE | Same color | 1.24— | 1.22— | 1.43— | 1.58— |
| #B0E0E6 | 1.24— | Same color | 1.02— | 1.15— | 1.27— |
| #C3D9E8 | 1.22— | 1.02— | Same color | 1.17— | 1.29— |
| #D7E9F7 | 1.43— | 1.15— | 1.17— | Same color | 1.10— |
| #E6F3FF | 1.58— | 1.27— | 1.29— | 1.10— | Same color |
Shades
Shades and tints (50–950)
