HEX in HSL: #2563EB
Auch bekannt als: Tailwind v3 blue-600
Ergebnis
#2563EB → hsl(221 83% 53%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #2563eb. 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.1451 G = 0.3882 B = 0.9216
2. max, min, Δ
max = 0.9216 min = 0.1451 Δ = max − min = 0.7765
3. L
L = (max + min) / 2 = 0.5333 = 53.33%
4. S
S = Δ / (1 − |2L − 1|) = 0.8319 = 83.19%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.1451 − 0.3882) / 0.7765 + 4) = 221.21°
6. HSL
hsl(221.21 83.19% 53.33%)
Alle Formate
- HEX
- #2563eb
- RGB
- rgb(37 99 235)
- RGB (legacy)
- rgb(37, 99, 235)
- HSL
- hsl(221.21 83.19% 53.33%) → hsl(221 83% 53%)
- HWB
- hwb(221 15% 8%)
- OKLCH
- oklch(0.546 0.215 262.9) · oklch(54.6% 0.215 262.9)
- OKLab
- oklab(0.546 -0.027 -0.214)
- Lab (D50)
- lab(44.79 21.05 -75.60)
- LCH (D50)
- lch(44.79 78.47 285.56)
- Display P3
- color(display-p3 0.2132 0.3830 0.8890)
- Linear sRGB
- color(srgb-linear 0.0185 0.1248 0.8308)
Gamut: sRGB und Display P3
#2563EB 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.251, Display P3 von 0.269; diese Farbe nutzt 86 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #2563eb;
color: rgb(37 99 235);
color: hsl(221 83% 53%);
color: oklch(0.546 0.215 262.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.546 0.215 262.9);
}
/* arbitrary values */
class="text-[#2563eb] bg-[oklch(0.546_0.215_262.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2132 0.3830 0.8890); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #2563eb calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- blue-600#155DFC
- royalblue#4169E1
- v3 blue-700#1D4ED8
- blue-700#1447E6
- v3 indigo-500#6366F1
- v3 indigo-600#4F46E5
- indigo-500#615FFF
- blue-500#2B7FFF
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #3777FF · oklch(0.606 0.215 262.9) · ΔL +0.06
- #124FD6 · oklch(0.486 0.215 262.9) · ΔL −0.06