In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Cornflower Blue — colorset.net */
:root {
--color-1: #6495ED;
--color-2: #7FA8F5;
--color-3: #9ABBF9;
--color-4: #B5CEFC;
--color-5: #D0E1FF;
--color-bg: #F2F7FF;
--color-surface: #E9EEF7;
--color-border: #CED5E1;
--color-text: #324D7F;
--color-muted: #5E6B82;
--color-primary: #5888DF;
--color-on-primary: #000000;
--color-accent: #7989A4;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #070F1F;
--color-surface: #10192A;
--color-border: #222E42;
--color-text: #D0E1FF;
--color-muted: #75839B;
--color-primary: #6495ED;
--color-on-primary: #070F1F;
--color-accent: #B5CEFC;
--color-on-accent: #070F1F;
}
}
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 #D0E1FF | für Kontrast angepasst · aus #6495ED |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #6495ED | aus der Palette · Farbe 5 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #6495ED | aus der Palette · Farbe 1 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #6495ED | aus der Palette · Farbe 4 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,80:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,20:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,00:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,00:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,93:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,25:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,29:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 14,49:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 13,31:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,99:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 6,44:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 12,03:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 6,44:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 12,03: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 | #6495ED (Text 1) | #7FA8F5 (Text 2) | #9ABBF9 (Text 3) | #B5CEFC (Text 4) | #D0E1FF (Text 5) |
|---|---|---|---|---|---|
| #6495ED | Gleiche Farbe | 1,25— | 1,54— | 1,87— | 2,25— |
| #7FA8F5 | 1,25— | Gleiche Farbe | 1,23— | 1,50— | 1,80— |
| #9ABBF9 | 1,54— | 1,23— | Gleiche Farbe | 1,22— | 1,47— |
| #B5CEFC | 1,87— | 1,50— | 1,22— | Gleiche Farbe | 1,20— |
| #D0E1FF | 2,25— | 1,80— | 1,47— | 1,20— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
