In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Cosmic Blue — colorset.net */
:root {
--color-1: #E8EAF6;
--color-2: #C5CAE9;
--color-3: #9FA8DA;
--color-4: #7986CB;
--color-5: #5C6BC0;
--color-bg: #E8EAF6;
--color-surface: #F0F2F9;
--color-border: #CFD1E1;
--color-text: #3D477D;
--color-muted: #636982;
--color-primary: #5C6BC0;
--color-on-primary: #FFFFFF;
--color-accent: #838590;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B0E1F;
--color-surface: #14182A;
--color-border: #272C42;
--color-text: #E8EAF6;
--color-muted: #82848F;
--color-primary: #5C6BC0;
--color-on-primary: #FFFFFF;
--color-accent: #C5CAE9;
--color-on-accent: #0B0E1F;
}
}
Farbwerte
| Farbe | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Rollen & Kontrast
Die Originalfarben bleiben erhalten; Rollen werden nur angepasst, wenn der Kontrast es erfordert.
| Rolle | Hellmodus | Dunkelmodus |
|---|---|---|
| Hintergrund | aus der Palette · Farbe 1 | für Kontrast angepasst · aus #5C6BC0 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #5C6BC0 | aus der Palette · Farbe 1 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 5 | aus der Palette · Farbe 5 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #7986CB | aus der Palette · Farbe 2 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,32:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,84:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,53:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,86:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,72:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,06:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,06:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,98:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 14,68:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,15:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,86:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 11,85:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,94:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 11,85:1 | AAA erfüllt 3:1 |
Jede Farbe auf jeder Farbe
Zeilen sind Hintergründe, Spalten Textfarben, gemessen mit den echten Palettenfarben. Grenzwerte: AAA 7:1, AA 4,5:1, AA großer Text 3:1.
| Hintergrund / Text | #E8EAF6 (Text 1) | #C5CAE9 (Text 2) | #9FA8DA (Text 3) | #7986CB (Text 4) | #5C6BC0 (Text 5) |
|---|---|---|---|---|---|
| #E8EAF6 | Gleiche Farbe | 1,35— | 1,93— | 2,88— | 4,06AA groß |
| #C5CAE9 | 1,35— | Gleiche Farbe | 1,43— | 2,14— | 3,01AA groß |
| #9FA8DA | 1,93— | 1,43— | Gleiche Farbe | 1,49— | 2,10— |
| #7986CB | 2,88— | 2,14— | 1,49— | Gleiche Farbe | 1,41— |
| #5C6BC0 | 4,06AA groß | 3,01AA groß | 2,10— | 1,41— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
