PreviewingGo to this paletteOpen in generator
Code
/* Model Blue — colorset.net */
:root {
--color-1: #F3F7FC;
--color-2: #4D79E4;
--color-3: #73D4AC;
--color-4: #2D457D;
--color-5: #091123;
--color-bg: #F3F7FC;
--color-surface: #EAEEF3;
--color-border: #CFD5DD;
--color-text: #091123;
--color-muted: #5C677E;
--color-primary: #4570DA;
--color-on-primary: #FFFFFF;
--color-accent: #168561;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #091123;
--color-surface: #131B2E;
--color-border: #263045;
--color-text: #F3F7FC;
--color-muted: #898D91;
--color-primary: #4570DA;
--color-on-primary: #FFFFFF;
--color-accent: #73D4AC;
--color-on-accent: #091123;
}
}
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 #4D79E4 | adjusted for contrast · from #4D79E4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #2D457D | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.49:1 | AAA pass 4.5:1 | |
| Text on surface | 16.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.28:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 4.60:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 4.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.49:1 | AAA pass 4.5:1 | |
| Text on surface | 15.95:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.63:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 10.52:1 | AAA pass 4.5:1 | |
| Primary on background | 4.11:1 | AA Large pass 3:1 | |
| Accent on background | 10.52: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 | #F3F7FC (Text 1) | #4D79E4 (Text 2) | #73D4AC (Text 3) | #2D457D (Text 4) | #091123 (Text 5) |
|---|---|---|---|---|---|
| #F3F7FC | Same color | 3.78AA Large | 1.66— | 8.64AAA | 17.49AAA |
| #4D79E4 | 3.78AA Large | Same color | 2.27— | 2.29— | 4.63AA |
| #73D4AC | 1.66— | 2.27— | Same color | 5.20AA | 10.52AAA |
| #2D457D | 8.64AAA | 2.29— | 5.20AA | Same color | 2.02— |
| #091123 | 17.49AAA | 4.63AA | 10.52AAA | 2.02— | Same color |
Shades
Shades and tints (50–950)
