In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Cobalt Blue — colorset.net */
:root {
--color-1: #0080FF;
--color-2: #3399FF;
--color-3: #66B2FF;
--color-4: #99CCFF;
--color-5: #CCE5FF;
--color-bg: #F1F8FF;
--color-surface: #E7EEF6;
--color-border: #CCD6E1;
--color-text: #2B4F7F;
--color-muted: #5C6C82;
--color-primary: #0072E4;
--color-on-primary: #FFFFFF;
--color-accent: #7289A1;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #05101E;
--color-surface: #0E1A29;
--color-border: #202F42;
--color-text: #CCE5FF;
--color-muted: #71869B;
--color-primary: #0072E4;
--color-on-primary: #FFFFFF;
--color-accent: #99CCFF;
--color-on-accent: #05101E;
}
}
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 | für Kontrast angepasst · aus #CCE5FF | für Kontrast angepasst · aus #0080FF |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #0080FF | aus der Palette · Farbe 5 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #0080FF | für Kontrast angepasst · aus #0080FF |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #3399FF | aus der Palette · Farbe 4 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,76:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,10:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,00:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,64:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,81:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,33:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,38:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 14,75:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 13,53:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,08:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,64:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 11,31:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,12:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 11,31: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 | #0080FF (Text 1) | #3399FF (Text 2) | #66B2FF (Text 3) | #99CCFF (Text 4) | #CCE5FF (Text 5) |
|---|---|---|---|---|---|
| #0080FF | Gleiche Farbe | 1,29— | 1,70— | 2,25— | 2,93— |
| #3399FF | 1,29— | Gleiche Farbe | 1,31— | 1,74— | 2,27— |
| #66B2FF | 1,70— | 1,31— | Gleiche Farbe | 1,33— | 1,73— |
| #99CCFF | 2,25— | 1,74— | 1,33— | Gleiche Farbe | 1,30— |
| #CCE5FF | 2,93— | 2,27— | 1,73— | 1,30— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
