In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Blue Royal — colorset.net */
:root {
--color-1: #1A237E;
--color-2: #283593;
--color-3: #303F9F;
--color-4: #3F51B5;
--color-5: #5C6BC0;
--color-bg: #F4F6FF;
--color-surface: #E9EDFB;
--color-border: #CFD4E6;
--color-text: #222E60;
--color-muted: #616A82;
--color-primary: #3F51B5;
--color-on-primary: #FFFFFF;
--color-accent: #1A237E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A0E1F;
--color-surface: #13182A;
--color-border: #262D42;
--color-text: #9CA5C7;
--color-muted: #79809A;
--color-primary: #495DC2;
--color-on-primary: #FFFFFF;
--color-accent: #7D94EE;
--color-on-accent: #0A0E1F;
}
}
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 #5C6BC0 | für Kontrast angepasst · aus #1A237E |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #1A237E | für Kontrast angepasst · aus #5C6BC0 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 4 | für Kontrast angepasst · aus #3F51B5 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 1 | für Kontrast angepasst · aus #5C6BC0 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 11,96:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 11,04: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,87:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 13,24:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 6,37:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 12,28:1 | AAA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,87:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,23:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,90:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,79:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 6,70:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,31:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 6,70: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 | #1A237E (Text 1) | #283593 (Text 2) | #303F9F (Text 3) | #3F51B5 (Text 4) | #5C6BC0 (Text 5) |
|---|---|---|---|---|---|
| #1A237E | Gleiche Farbe | 1,27— | 1,47— | 1,93— | 2,72— |
| #283593 | 1,27— | Gleiche Farbe | 1,16— | 1,51— | 2,14— |
| #303F9F | 1,47— | 1,16— | Gleiche Farbe | 1,31— | 1,85— |
| #3F51B5 | 1,93— | 1,51— | 1,31— | Gleiche Farbe | 1,41— |
| #5C6BC0 | 2,72— | 2,14— | 1,85— | 1,41— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
