PreviewingGo to this paletteOpen in generator
Code
/* Pearl Blue — colorset.net */
:root {
--color-1: #CCDDFF;
--color-2: #DDEEFF;
--color-3: #EEFFFF;
--color-4: #F5FFFF;
--color-5: #FFFFFF;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #465470;
--color-muted: #657189;
--color-primary: #7F8EAD;
--color-on-primary: #000000;
--color-accent: #515C75;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B0F18;
--color-surface: #151923;
--color-border: #272E3B;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #CCDDFF;
--color-on-primary: #0B0F18;
--color-accent: #99A7C2;
--color-on-accent: #0B0F18;
}
}
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 #CCDDFF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #CCDDFF | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #CCDDFF | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CCDDFF | adjusted for contrast · from #CCDDFF |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.60:1 | AAA pass 4.5:1 | |
| Text on surface | 7.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 6.38:1 | AA pass 4.5:1 | |
| Label on accent | 6.69:1 | AA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 6.69:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.16:1 | AAA pass 4.5:1 | |
| Text on surface | 17.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.93:1 | AA pass 4.5:1 | |
| Label on primary | 14.01:1 | AAA pass 4.5:1 | |
| Label on accent | 7.90:1 | AAA pass 4.5:1 | |
| Primary on background | 14.01:1 | AAA pass 3:1 | |
| Accent on background | 7.90: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 | #CCDDFF (Text 1) | #DDEEFF (Text 2) | #EEFFFF (Text 3) | #F5FFFF (Text 4) | #FFFFFF (Text 5) |
|---|---|---|---|---|---|
| #CCDDFF | Same color | 1.16— | 1.33— | 1.34— | 1.37— |
| #DDEEFF | 1.16— | Same color | 1.15— | 1.16— | 1.18— |
| #EEFFFF | 1.33— | 1.15— | Same color | 1.01— | 1.03— |
| #F5FFFF | 1.34— | 1.16— | 1.01— | Same color | 1.02— |
| #FFFFFF | 1.37— | 1.18— | 1.03— | 1.02— | Same color |
Shades
Shades and tints (50–950)
