HSL in HEX: #193CB8
Auch bekannt als: Tailwind blue-800
Ergebnis
hsl(226.79 76.08% 40.98%) → #193CB8
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. input
H = 226.79°, S = 76.08%, L = 40.98%
2. C
C = (1 − |2L − 1|) × S = 0.62355
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.13729 (H / 60° = 3.7798, sector 3)
4. m
m = L − C / 2 = 0.09802
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.13729, 0.62355) R = round((0.00000 + 0.09802) × 255) = 25 G = round((0.13729 + 0.09802) × 255) = 60 B = round((0.62355 + 0.09802) × 255) = 184
6. RGB → HEX
#193CB8
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