PreviewingGo to this paletteOpen in generator
Code
/* Cornflower Steel — colorset.net */
:root {
--color-1: #4682B4;
--color-2: #5692C4;
--color-3: #66A2D4;
--color-4: #76B2E4;
--color-5: #86C2F4;
--color-bg: #F0F8FF;
--color-surface: #E3EFFA;
--color-border: #C8D7E5;
--color-text: #19507A;
--color-muted: #576C80;
--color-primary: #3D79AA;
--color-on-primary: #FFFFFF;
--color-accent: #15486E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #03111E;
--color-surface: #0B1B29;
--color-border: #1C3041;
--color-text: #A1BFDA;
--color-muted: #70869A;
--color-primary: #3D79AA;
--color-on-primary: #FFFFFF;
--color-accent: #76B2E4;
--color-on-accent: #03111E;
}
}
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 #86C2F4 | adjusted for contrast · from #4682B4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4682B4 | adjusted for contrast · from #86C2F4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4682B4 | adjusted for contrast · from #4682B4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4682B4 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.93:1 | AAA pass 4.5:1 | |
| Text on surface | 7.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 9.62:1 | AAA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 8.96:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.96:1 | AAA pass 4.5:1 | |
| Text on surface | 9.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 8.40:1 | AAA pass 4.5:1 | |
| Primary on background | 4.09:1 | AA Large pass 3:1 | |
| Accent on background | 8.40: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 | #4682B4 (Text 1) | #5692C4 (Text 2) | #66A2D4 (Text 3) | #76B2E4 (Text 4) | #86C2F4 (Text 5) |
|---|---|---|---|---|---|
| #4682B4 | Same color | 1.23— | 1.50— | 1.81— | 2.16— |
| #5692C4 | 1.23— | Same color | 1.22— | 1.47— | 1.75— |
| #66A2D4 | 1.50— | 1.22— | Same color | 1.20— | 1.44— |
| #76B2E4 | 1.81— | 1.47— | 1.20— | Same color | 1.19— |
| #86C2F4 | 2.16— | 1.75— | 1.44— | 1.19— | Same color |
Shades
Shades and tints (50–950)
