PreviewingGo to this paletteOpen in generator
Code
/* Admiral Skyline — colorset.net */
:root {
--color-1: #000080;
--color-2: #191970;
--color-3: #4169E1;
--color-4: #6495ED;
--color-5: #87CEEB;
--color-bg: #ECF9FF;
--color-surface: #E0F1F8;
--color-border: #C4D9E2;
--color-text: #0F2352;
--color-muted: #5F6B83;
--color-primary: #4169E1;
--color-on-primary: #FFFFFF;
--color-accent: #4B92AD;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #11192A;
--color-border: #242E42;
--color-text: #A1CADB;
--color-muted: #688794;
--color-primary: #4169E1;
--color-on-primary: #FFFFFF;
--color-accent: #4E5FBA;
--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 #87CEEB | adjusted for contrast · from #191970 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #191970 | adjusted for contrast · from #87CEEB |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6495ED | adjusted for contrast · from #4169E1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.15:1 | AAA pass 4.5:1 | |
| Text on surface | 13.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 4.51:1 | AA pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.91:1 | AAA pass 4.5:1 | |
| Text on surface | 10.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 5.72:1 | AA pass 4.5:1 | |
| Primary on background | 3.94:1 | AA Large 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 | #000080 (Text 1) | #191970 (Text 2) | #4169E1 (Text 3) | #6495ED (Text 4) | #87CEEB (Text 5) |
|---|---|---|---|---|---|
| #000080 | Same color | 1.08— | 3.30AA Large | 5.39AA | 9.19AAA |
| #191970 | 1.08— | Same color | 3.06AA Large | 4.99AA | 8.53AAA |
| #4169E1 | 3.30AA Large | 3.06AA Large | Same color | 1.63— | 2.78— |
| #6495ED | 5.39AA | 4.99AA | 1.63— | Same color | 1.71— |
| #87CEEB | 9.19AAA | 8.53AAA | 2.78— | 1.71— | Same color |
Shades
Shades and tints (50–950)
