PreviewingGo to this paletteOpen in generator
Code
/* Drizzle Blue — colorset.net */
:root {
--color-1: #4169E1;
--color-2: #87CEEB;
--color-3: #B0E0E6;
--color-4: #E0F6FF;
--color-5: #F0F8FF;
--color-bg: #F0F8FF;
--color-surface: #E7EFF6;
--color-border: #CCD6E0;
--color-text: #394D81;
--color-muted: #616B83;
--color-primary: #4169E1;
--color-on-primary: #FFFFFF;
--color-accent: #639196;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #12192A;
--color-border: #242D42;
--color-text: #F0F8FF;
--color-muted: #858C93;
--color-primary: #4169E1;
--color-on-primary: #FFFFFF;
--color-accent: #B0E0E6;
--color-on-accent: #080F1F;
}
}
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 #4169E1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4169E1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4169E1 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 6.02:1 | AA pass 4.5:1 | |
| Primary on background | 4.52:1 | AA pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.82:1 | AAA pass 4.5:1 | |
| Text on surface | 16.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.62:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 13.34:1 | AAA pass 4.5:1 | |
| Primary on background | 3.94:1 | AA Large pass 3:1 | |
| Accent on background | 13.34: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 | #4169E1 (Text 1) | #87CEEB (Text 2) | #B0E0E6 (Text 3) | #E0F6FF (Text 4) | #F0F8FF (Text 5) |
|---|---|---|---|---|---|
| #4169E1 | Same color | 2.78— | 3.38AA Large | 4.34AA Large | 4.52AA |
| #87CEEB | 2.78— | Same color | 1.22— | 1.56— | 1.62— |
| #B0E0E6 | 3.38AA Large | 1.22— | Same color | 1.28— | 1.34— |
| #E0F6FF | 4.34AA Large | 1.56— | 1.28— | Same color | 1.04— |
| #F0F8FF | 4.52AA | 1.62— | 1.34— | 1.04— | Same color |
Shades
Shades and tints (50–950)
