PreviewingGo to this paletteOpen in generator
Code
/* Moonstone Blue — colorset.net */
:root {
--color-1: #73C2FB;
--color-2: #87CEFC;
--color-3: #9BDAFD;
--color-4: #AFE6FE;
--color-5: #5FB6FA;
--color-bg: #EDF9FF;
--color-surface: #E1F1F8;
--color-border: #C5D9E1;
--color-text: #17517A;
--color-muted: #576D80;
--color-primary: #1A7ABA;
--color-on-primary: #FFFFFF;
--color-accent: #5B90A6;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #02111D;
--color-surface: #0A1B28;
--color-border: #1C3041;
--color-text: #BAE4F6;
--color-muted: #678693;
--color-primary: #5FB6FA;
--color-on-primary: #02111D;
--color-accent: #87CEFC;
--color-on-accent: #02111D;
}
}
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 #AFE6FE | adjusted for contrast · from #5FB6FA |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #5FB6FA | adjusted for contrast · from #AFE6FE |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #5FB6FA | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #5FB6FA | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 4.32:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.10:1 | AAA pass 4.5:1 | |
| Text on surface | 12.93:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 8.69:1 | AAA pass 4.5:1 | |
| Label on accent | 11.14:1 | AAA pass 4.5:1 | |
| Primary on background | 8.69:1 | AAA pass 3:1 | |
| Accent on background | 11.14: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 | #73C2FB (Text 1) | #87CEFC (Text 2) | #9BDAFD (Text 3) | #AFE6FE (Text 4) | #5FB6FA (Text 5) |
|---|---|---|---|---|---|
| #73C2FB | Same color | 1.13— | 1.28— | 1.44— | 1.13— |
| #87CEFC | 1.13— | Same color | 1.13— | 1.27— | 1.28— |
| #9BDAFD | 1.28— | 1.13— | Same color | 1.13— | 1.45— |
| #AFE6FE | 1.44— | 1.27— | 1.13— | Same color | 1.63— |
| #5FB6FA | 1.13— | 1.28— | 1.45— | 1.63— | Same color |
Shades
Shades and tints (50–950)
