PreviewingGo to this paletteOpen in generator
Code
/* Raw Selvedge — colorset.net */
:root {
--color-1: #040B18;
--color-2: #09192C;
--color-3: #152C48;
--color-4: #4075AA;
--color-5: #C0D4E3;
--color-bg: #F2F8FC;
--color-surface: #E8EEF3;
--color-border: #CDD6DD;
--color-text: #040B18;
--color-muted: #576374;
--color-primary: #4075AA;
--color-on-primary: #FFFFFF;
--color-accent: #09192C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #040B18;
--color-surface: #0C1523;
--color-border: #1E293B;
--color-text: #C0D4E3;
--color-muted: #718391;
--color-primary: #4075AA;
--color-on-primary: #FFFFFF;
--color-accent: #586475;
--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 | adjusted for contrast · from #C0D4E3 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #4075AA |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.39:1 | AAA pass 4.5:1 | |
| Text on surface | 16.84:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.70:1 | AA pass 4.5:1 | |
| Label on primary | 4.84:1 | AA pass 4.5:1 | |
| Label on accent | 17.69:1 | AAA pass 4.5:1 | |
| Primary on background | 4.51:1 | AA pass 3:1 | |
| Accent on background | 16.52:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.91:1 | AAA pass 4.5:1 | |
| Text on surface | 12.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.84:1 | AA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 4.07:1 | AA Large pass 3:1 | |
| Accent on background | 3.28: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 | #040B18 (Text 1) | #09192C (Text 2) | #152C48 (Text 3) | #4075AA (Text 4) | #C0D4E3 (Text 5) |
|---|---|---|---|---|---|
| #040B18 | Same color | 1.11— | 1.39— | 4.07AA Large | 12.91AAA |
| #09192C | 1.11— | Same color | 1.25— | 3.66AA Large | 11.60AAA |
| #152C48 | 1.39— | 1.25— | Same color | 2.92— | 9.27AAA |
| #4075AA | 4.07AA Large | 3.66AA Large | 2.92— | Same color | 3.17AA Large |
| #C0D4E3 | 12.91AAA | 11.60AAA | 9.27AAA | 3.17AA Large | Same color |
Shades
Shades and tints (50–950)
