PreviewingGo to this paletteOpen in generator
Code
/* Sailcloth — colorset.net */
:root {
--color-1: #F7F7F3;
--color-2: #1B3B6F;
--color-3: #D64545;
--color-4: #D7DCE3;
--color-5: #141B2A;
--color-bg: #F7F7F3;
--color-surface: #EEEEEA;
--color-border: #D5D5CE;
--color-text: #141B2A;
--color-muted: #636C7E;
--color-primary: #D24242;
--color-on-primary: #FFFFFF;
--color-accent: #1B3B6F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #141B2A;
--color-surface: #1E2635;
--color-border: #323B4F;
--color-text: #F7F7F3;
--color-muted: #92928E;
--color-primary: #D24242;
--color-on-primary: #FFFFFF;
--color-accent: #4E71AA;
--color-on-accent: #FFFFFF;
}
}
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 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D64545 | adjusted for contrast · from #D64545 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #1B3B6F |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.03:1 | AAA pass 4.5:1 | |
| Text on surface | 14.80:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 11.04:1 | AAA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 10.28:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.03:1 | AAA pass 4.5:1 | |
| Text on surface | 14.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.51:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 4.92:1 | AA pass 4.5:1 | |
| Primary on background | 3.77:1 | AA Large pass 3:1 | |
| Accent on background | 3.50:1 | AA Large 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 | #F7F7F3 (Text 1) | #1B3B6F (Text 2) | #D64545 (Text 3) | #D7DCE3 (Text 4) | #141B2A (Text 5) |
|---|---|---|---|---|---|
| #F7F7F3 | Same color | 10.28AAA | 4.08AA Large | 1.28— | 16.03AAA |
| #1B3B6F | 10.28AAA | Same color | 2.52— | 8.01AAA | 1.56— |
| #D64545 | 4.08AA Large | 2.52— | Same color | 3.18AA Large | 3.93AA Large |
| #D7DCE3 | 1.28— | 8.01AAA | 3.18AA Large | Same color | 12.49AAA |
| #141B2A | 16.03AAA | 1.56— | 3.93AA Large | 12.49AAA | Same color |
Shades
Shades and tints (50–950)
