In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Midnight Swim — colorset.net */
:root {
--color-1: #001122;
--color-2: #003366;
--color-3: #0066CC;
--color-4: #3399FF;
--color-5: #99CCFF;
--color-bg: #F1F8FF;
--color-surface: #E4EFFB;
--color-border: #C9D7E5;
--color-text: #001122;
--color-muted: #53697C;
--color-primary: #0066CC;
--color-on-primary: #FFFFFF;
--color-accent: #5C8DBD;
--color-on-accent: #001122;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #001122;
--color-surface: #061C2D;
--color-border: #1D3041;
--color-text: #AECAE6;
--color-muted: #72869B;
--color-primary: #0066CC;
--color-on-primary: #FFFFFF;
--color-accent: #526A7F;
--color-on-accent: #FFFFFF;
}
}
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 #99CCFF | aus der Palette · Farbe 1 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 1 | für Kontrast angepasst · aus #99CCFF |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 3 | aus der Palette · Farbe 3 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #3399FF | für Kontrast angepasst · aus #0066CC |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 17,78:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 16,35:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,33:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,57:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,44:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,20:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,27:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 11,23:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 10,23:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,07:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,57:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,63:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,42:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,38:1 | AA groß 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 | #001122 (Text 1) | #003366 (Text 2) | #0066CC (Text 3) | #3399FF (Text 4) | #99CCFF (Text 5) |
|---|---|---|---|---|---|
| #001122 | Gleiche Farbe | 1,51— | 3,42AA groß | 6,47AA | 11,27AAA |
| #003366 | 1,51— | Gleiche Farbe | 2,27— | 4,29AA groß | 7,47AAA |
| #0066CC | 3,42AA groß | 2,27— | Gleiche Farbe | 1,89— | 3,30AA groß |
| #3399FF | 6,47AA | 4,29AA groß | 1,89— | Gleiche Farbe | 1,74— |
| #99CCFF | 11,27AAA | 7,47AAA | 3,30AA groß | 1,74— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
