HEX in HSL: #193CB8
Auch bekannt als: Tailwind blue-800
Ergebnis
#193CB8 → hsl(227 76% 41%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #193cb8. Die gerundete Form fügst du üblicherweise in CSS ein.
Rechenweg Schritt für Schritt
Jede Zahl wird aus der Eingabe berechnet, nichts ist nachgeschlagen.
1. RGB ÷ 255
R = 0.0980 G = 0.2353 B = 0.7216
2. max, min, Δ
max = 0.7216 min = 0.0980 Δ = max − min = 0.6235
3. L
L = (max + min) / 2 = 0.4098 = 40.98%
4. S
S = Δ / (1 − |2L − 1|) = 0.7608 = 76.08%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.0980 − 0.2353) / 0.6235 + 4) = 226.79°
6. HSL
hsl(226.79 76.08% 40.98%)
Alle Formate
- HEX
- #193cb8
- RGB
- rgb(25 60 184)
- RGB (legacy)
- rgb(25, 60, 184)
- HSL
- hsl(226.79 76.08% 40.98%) → hsl(227 76% 41%)
- HWB
- hwb(227 10% 28%)
- OKLCH
- oklch(0.424 0.198 265.5) · oklch(42.4% 0.198 265.5)
- OKLab
- oklab(0.424 -0.016 -0.198)
- Lab (D50)
- lab(30.31 27.39 -69.98)
- LCH (D50)
- lch(30.31 75.15 291.38)
- Display P3
- color(display-p3 0.1334 0.2321 0.6943)
- Linear sRGB
- color(srgb-linear 0.0097 0.0452 0.4793)
Gamut: sRGB und Display P3
#193CB8 ist eine Hex-Farbe und liegt damit in sRGB und folglich in Display P3. Bei dieser Helligkeit und diesem Farbton erreicht sRGB eine Chroma von 0.290, Display P3 von 0.290; diese Farbe nutzt 68 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #193cb8;
color: rgb(25 60 184);
color: hsl(227 76% 41%);
color: oklch(0.424 0.198 265.5);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.424 0.198 265.5);
}
/* arbitrary values */
class="text-[#193cb8] bg-[oklch(0.424_0.198_265.5)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.1334 0.2321 0.6943); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #193cb8 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 blue-800#1E40AF
- indigo-800#372AAC
- v3 indigo-800#3730A3
- v3 indigo-700#4338CA
- v3 blue-700#1D4ED8
- indigo-700#432DD7
- blue-900#1C398E
- v3 blue-900#1E3A8A
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #2750CC · oklch(0.484 0.198 265.5) · ΔL +0.06
- #0D27A4 · oklch(0.364 0.198 265.5) · ΔL −0.06