PreviewingGo to this paletteOpen in generator
Code
/* Lapis Horizon — colorset.net */
:root {
--color-1: #002366;
--color-2: #0047AB;
--color-3: #0066CC;
--color-4: #0080FF;
--color-5: #4DA6FF;
--color-bg: #F1F8FF;
--color-surface: #E4EFFB;
--color-border: #C9D6E5;
--color-text: #0E2756;
--color-muted: #5D6B82;
--color-primary: #0072E4;
--color-on-primary: #FFFFFF;
--color-accent: #0047AB;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #070F1F;
--color-surface: #10192A;
--color-border: #222E42;
--color-text: #8EA8C4;
--color-muted: #72859B;
--color-primary: #0072E4;
--color-on-primary: #FFFFFF;
--color-accent: #3D65AE;
--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 #4DA6FF | adjusted for contrast · from #002366 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #002366 | adjusted for contrast · from #4DA6FF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #0066CC | adjusted for contrast · from #0066CC |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #0066CC |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.59:1 | AAA pass 4.5:1 | |
| Text on surface | 12.50:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 8.44:1 | AAA pass 4.5:1 | |
| Primary on background | 4.33:1 | AA Large pass 3:1 | |
| Accent on background | 7.88:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.79:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.72:1 | AA pass 4.5:1 | |
| Primary on background | 4.13:1 | AA Large pass 3:1 | |
| Accent on background | 3.35: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 | #002366 (Text 1) | #0047AB (Text 2) | #0066CC (Text 3) | #0080FF (Text 4) | #4DA6FF (Text 5) |
|---|---|---|---|---|---|
| #002366 | Same color | 1.74— | 2.63— | 3.86AA Large | 5.73AA |
| #0047AB | 1.74— | Same color | 1.52— | 2.22— | 3.30AA Large |
| #0066CC | 2.63— | 1.52— | Same color | 1.47— | 2.18— |
| #0080FF | 3.86AA Large | 2.22— | 1.47— | Same color | 1.48— |
| #4DA6FF | 5.73AA | 3.30AA Large | 2.18— | 1.48— | Same color |
Shades
Shades and tints (50–950)
