PreviewingGo to this paletteOpen in generator
Code
/* Periwinkle Sky — colorset.net */
:root {
--color-1: #BBDEFB;
--color-2: #90CAF9;
--color-3: #64B5F6;
--color-4: #42A5F5;
--color-5: #2196F3;
--color-bg: #F0F8FF;
--color-surface: #E5EFF8;
--color-border: #C9D7E2;
--color-text: #22527E;
--color-muted: #596D82;
--color-primary: #007ACD;
--color-on-primary: #FFFFFF;
--color-accent: #6B8CA6;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #03101E;
--color-surface: #0C1B29;
--color-border: #1D2F41;
--color-text: #BEDEF8;
--color-muted: #6D8598;
--color-primary: #2196F3;
--color-on-primary: #03101E;
--color-accent: #90CAF9;
--color-on-accent: #03101E;
}
}
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 #BBDEFB | adjusted for contrast · from #2196F3 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #2196F3 | adjusted for contrast · from #BBDEFB |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #2196F3 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #2196F3 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.60:1 | AAA pass 4.5:1 | |
| Text on surface | 7.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.50:1 | AA pass 4.5:1 | |
| Label on accent | 5.93:1 | AA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.67:1 | AAA pass 4.5:1 | |
| Text on surface | 12.45:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 6.13:1 | AA pass 4.5:1 | |
| Label on accent | 10.94:1 | AAA pass 4.5:1 | |
| Primary on background | 6.13:1 | AA pass 3:1 | |
| Accent on background | 10.94: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 | #BBDEFB (Text 1) | #90CAF9 (Text 2) | #64B5F6 (Text 3) | #42A5F5 (Text 4) | #2196F3 (Text 5) |
|---|---|---|---|---|---|
| #BBDEFB | Same color | 1.25— | 1.58— | 1.89— | 2.22— |
| #90CAF9 | 1.25— | Same color | 1.27— | 1.51— | 1.79— |
| #64B5F6 | 1.58— | 1.27— | Same color | 1.20— | 1.41— |
| #42A5F5 | 1.89— | 1.51— | 1.20— | Same color | 1.18— |
| #2196F3 | 2.22— | 1.79— | 1.41— | 1.18— | Same color |
Shades
Shades and tints (50–950)
