In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Ocean Deal — colorset.net */
:root {
--color-1: #F0F6FC;
--color-2: #0068B4;
--color-3: #FFB400;
--color-4: #A9C6E3;
--color-5: #082542;
--color-bg: #F0F6FC;
--color-surface: #FBFDFF;
--color-border: #D5DEE6;
--color-text: #082542;
--color-muted: #5E7085;
--color-primary: #0068B4;
--color-on-primary: #FFFFFF;
--color-accent: #BB8300;
--color-on-accent: #082542;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #07101A;
--color-surface: #111A25;
--color-border: #222F3D;
--color-text: #F0F6FC;
--color-muted: #868B90;
--color-primary: #0068B4;
--color-on-primary: #FFFFFF;
--color-accent: #FFB400;
--color-on-accent: #07101A;
}
}
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 1 | für Kontrast angepasst · aus #082542 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 5 | aus der Palette · Farbe 1 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | aus der Palette · Farbe 2 | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #FFB400 | aus der Palette · Farbe 3 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 14,25:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 15,22:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,67:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,77:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,70:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,30:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,03:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 17,57:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 16,10:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,56:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,77:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 10,73:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,31:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 10,73: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 | #F0F6FC (Text 1) | #0068B4 (Text 2) | #FFB400 (Text 3) | #A9C6E3 (Text 4) | #082542 (Text 5) |
|---|---|---|---|---|---|
| #F0F6FC | Gleiche Farbe | 5,30AA | 1,64— | 1,62— | 14,25AAA |
| #0068B4 | 5,30AA | Gleiche Farbe | 3,24AA groß | 3,26AA groß | 2,69— |
| #FFB400 | 1,64— | 3,24AA groß | Gleiche Farbe | 1,01— | 8,70AAA |
| #A9C6E3 | 1,62— | 3,26AA groß | 1,01— | Gleiche Farbe | 8,77AAA |
| #082542 | 14,25AAA | 2,69— | 8,70AAA | 8,77AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
