PreviewingGo to this paletteOpen in generator
Code
/* Mariana Blue — colorset.net */
:root {
--color-1: #000051;
--color-2: #003366;
--color-3: #006699;
--color-4: #0099CC;
--color-5: #00CCFF;
--color-bg: #ECF9FF;
--color-surface: #E0F1F8;
--color-border: #C4D9E1;
--color-text: #020F3D;
--color-muted: #5E6A82;
--color-primary: #007FAB;
--color-on-primary: #FFFFFF;
--color-accent: #003366;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #11192A;
--color-border: #242E42;
--color-text: #97C1D1;
--color-muted: #698894;
--color-primary: #0099CC;
--color-on-primary: #080F1F;
--color-accent: #3F63B5;
--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 #00CCFF | adjusted for contrast · from #000051 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #000051 | adjusted for contrast · from #00CCFF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #006699 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #006699 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.18:1 | AAA pass 4.5:1 | |
| Text on surface | 15.91:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 12.61:1 | AAA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 11.75:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.89:1 | AAA pass 4.5:1 | |
| Text on surface | 9.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 5.85:1 | AA pass 4.5:1 | |
| Label on accent | 5.73:1 | AA pass 4.5:1 | |
| Primary on background | 5.85:1 | AA pass 3:1 | |
| Accent on background | 3.34: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 | #000051 (Text 1) | #003366 (Text 2) | #006699 (Text 3) | #0099CC (Text 4) | #00CCFF (Text 5) |
|---|---|---|---|---|---|
| #000051 | Same color | 1.49— | 3.00AA Large | 5.75AA | 9.90AAA |
| #003366 | 1.49— | Same color | 2.02— | 3.86AA Large | 6.65AA |
| #006699 | 3.00AA Large | 2.02— | Same color | 1.91— | 3.30AA Large |
| #0099CC | 5.75AA | 3.86AA Large | 1.91— | Same color | 1.72— |
| #00CCFF | 9.90AAA | 6.65AA | 3.30AA Large | 1.72— | Same color |
Shades
Shades and tints (50–950)
