In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Midnight Navy — colorset.net */
:root {
--color-1: #000033;
--color-2: #000D4D;
--color-3: #001A66;
--color-4: #002680;
--color-5: #003399;
--color-bg: #F2F7FF;
--color-surface: #E6EEFB;
--color-border: #CCD5E6;
--color-text: #00022F;
--color-muted: #566279;
--color-primary: #003399;
--color-on-primary: #FFFFFF;
--color-accent: #000D4D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #11192A;
--color-border: #242E42;
--color-text: #94A6C5;
--color-muted: #76849C;
--color-primary: #2D62CB;
--color-on-primary: #FFFFFF;
--color-accent: #4A66A1;
--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 #003399 | für Kontrast angepasst · aus #000033 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #000033 | für Kontrast angepasst · aus #003399 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 5 | für Kontrast angepasst · aus #003399 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 2 | für Kontrast angepasst · aus #003399 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 18,60:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 17,14:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,71:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 10,86:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 18,03:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 10,10:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 16,76:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,76:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,12:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,05:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,64:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,67:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,39:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,37: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 | #000033 (Text 1) | #000D4D (Text 2) | #001A66 (Text 3) | #002680 (Text 4) | #003399 (Text 5) |
|---|---|---|---|---|---|
| #000033 | Gleiche Farbe | 1,11— | 1,28— | 1,52— | 1,85— |
| #000D4D | 1,11— | Gleiche Farbe | 1,15— | 1,36— | 1,66— |
| #001A66 | 1,28— | 1,15— | Gleiche Farbe | 1,19— | 1,44— |
| #002680 | 1,52— | 1,36— | 1,19— | Gleiche Farbe | 1,22— |
| #003399 | 1,85— | 1,66— | 1,44— | 1,22— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
