In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Cassette Blue — colorset.net */
:root {
--color-1: #0E1A3A;
--color-2: #4D8BFF;
--color-3: #FF5CA8;
--color-4: #22305A;
--color-5: #EDF2FF;
--color-bg: #EDF2FF;
--color-surface: #F7F9FF;
--color-border: #D3D9E9;
--color-text: #0E1A3A;
--color-muted: #626D85;
--color-primary: #ED4B99;
--color-on-primary: #0E1A3A;
--color-accent: #4A88FB;
--color-on-accent: #0E1A3A;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E1A3A;
--color-surface: #182546;
--color-border: #333C52;
--color-text: #EDF2FF;
--color-muted: #8B909C;
--color-primary: #FF5CA8;
--color-on-primary: #0E1A3A;
--color-accent: #4D8BFF;
--color-on-accent: #0E1A3A;
}
}
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 5 | aus der Palette · Farbe 1 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 1 | aus der Palette · Farbe 5 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #FF5CA8 | aus der Palette · Farbe 3 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #4D8BFF | aus der Palette · Farbe 2 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,27:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 16,25:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,63:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,94:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,06:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,09:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,02:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,27:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 13,47:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,35:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,99:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,26:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,99:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 5,26:1 | AA 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 | #0E1A3A (Text 1) | #4D8BFF (Text 2) | #FF5CA8 (Text 3) | #22305A (Text 4) | #EDF2FF (Text 5) |
|---|---|---|---|---|---|
| #0E1A3A | Gleiche Farbe | 5,26AA | 5,99AA | 1,33— | 15,27AAA |
| #4D8BFF | 5,26AA | Gleiche Farbe | 1,14— | 3,94AA groß | 2,91— |
| #FF5CA8 | 5,99AA | 1,14— | Gleiche Farbe | 4,48AA groß | 2,55— |
| #22305A | 1,33— | 3,94AA groß | 4,48AA groß | Gleiche Farbe | 11,44AAA |
| #EDF2FF | 15,27AAA | 2,91— | 2,55— | 11,44AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
