HEX to HSL: #4B585B
Also known as: Tailwind mist-600
Result
#4B585B → hsl(191 10% 33%)
Values are shown at full precision, so converting back gives exactly #4b585b. The rounded form is what you normally paste into CSS.
Step-by-step math
Every number below is computed from the input, nothing is looked up.
1. RGB ÷ 255
R = 0.2941 G = 0.3451 B = 0.3569
2. max, min, Δ
max = 0.3569 min = 0.2941 Δ = max − min = 0.0627
3. L
L = (max + min) / 2 = 0.3255 = 32.55%
4. S
S = Δ / (1 − |2L − 1|) = 0.0964 = 9.64%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.2941 − 0.3451) / 0.0627 + 4) = 191.25°
6. HSL
hsl(191.25 9.64% 32.55%)
All formats
- HEX
- #4b585b
- RGB
- rgb(75 88 91)
- RGB (legacy)
- rgb(75, 88, 91)
- HSL
- hsl(191.25 9.64% 32.55%) → hsl(191 10% 33%)
- HWB
- hwb(191 29% 64%)
- OKLCH
- oklch(0.450 0.017 213.2) · oklch(45.0% 0.017 213.2)
- OKLab
- oklab(0.450 -0.014 -0.009)
- Lab (D50)
- lab(36.36 -4.71 -3.54)
- LCH (D50)
- lch(36.36 5.89 216.95)
- Display P3
- color(display-p3 0.3039 0.3435 0.3551)
- Linear sRGB
- color(srgb-linear 0.0704 0.0976 0.1046)
Gamut: sRGB and Display P3
#4B585B is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.079 and Display P3 reaches 0.105; this color uses 22% of the sRGB chroma available.
CSS snippets
.element {
color: #4b585b;
color: rgb(75 88 91);
color: hsl(191 10% 33%);
color: oklch(0.450 0.017 213.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.450 0.017 213.2);
}
/* arbitrary values */
class="text-[#4b585b] bg-[oklch(0.450_0.017_213.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.3039 0.3435 0.3551); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #4b585b calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 gray-600#4B5563
- v3 zinc-600#52525B
- neutral-600#525252
- zinc-600#52525C
- gray-600#4A5565
- v3 stone-600#57534E
- stone-600#57534D
- v3 slate-600#475569
Lighter and darker, same hue and chroma
- #5C696C · oklch(0.510 0.017 213.2) · ΔL +0.06
- #3B484B · oklch(0.390 0.017 213.2) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?