PreviewingGo to this paletteOpen in generator
Code
/* Clinic Calm — colorset.net */
:root {
--color-1: #F4F9FB;
--color-2: #1C7ED6;
--color-3: #2FB380;
--color-4: #A9C7D8;
--color-5: #10283A;
--color-bg: #F4F9FB;
--color-surface: #EBF0F2;
--color-border: #CFD8DB;
--color-text: #10283A;
--color-muted: #576E80;
--color-primary: #1178CF;
--color-on-primary: #FFFFFF;
--color-accent: #009D6C;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #081017;
--color-surface: #121B21;
--color-border: #242F39;
--color-text: #F4F9FB;
--color-muted: #888D8E;
--color-primary: #1178CF;
--color-on-primary: #FFFFFF;
--color-accent: #2FB380;
--color-on-accent: #081017;
}
}
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 | adjusted for contrast · from #10283A |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #1C7ED6 | adjusted for contrast · from #1C7ED6 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #2FB380 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.27:1 | AAA pass 4.5:1 | |
| Text on surface | 13.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 6.04:1 | AA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.04:1 | AAA pass 4.5:1 | |
| Text on surface | 16.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.70:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 7.19:1 | AAA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 7.19: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 | #F4F9FB (Text 1) | #1C7ED6 (Text 2) | #2FB380 (Text 3) | #A9C7D8 (Text 4) | #10283A (Text 5) |
|---|---|---|---|---|---|
| #F4F9FB | Same color | 3.95AA Large | 2.51— | 1.67— | 14.27AAA |
| #1C7ED6 | 3.95AA Large | Same color | 1.57— | 2.37— | 3.61AA Large |
| #2FB380 | 2.51— | 1.57— | Same color | 1.50— | 5.68AA |
| #A9C7D8 | 1.67— | 2.37— | 1.50— | Same color | 8.54AAA |
| #10283A | 14.27AAA | 3.61AA Large | 5.68AA | 8.54AAA | Same color |
Shades
Shades and tints (50–950)
