HEX to HSL: #67787C
Also known as: Tailwind mist-500
Result
#67787C → hsl(191 9% 45%)
Values are shown at full precision, so converting back gives exactly #67787c. 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.4039 G = 0.4706 B = 0.4863
2. max, min, Δ
max = 0.4863 min = 0.4039 Δ = max − min = 0.0824
3. L
L = (max + min) / 2 = 0.4451 = 44.51%
4. S
S = Δ / (1 − |2L − 1|) = 0.0925 = 9.25%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.4039 − 0.4706) / 0.0824 + 4) = 191.43°
6. HSL
hsl(191.43 9.25% 44.51%)
All formats
- HEX
- #67787c
- RGB
- rgb(103 120 124)
- RGB (legacy)
- rgb(103, 120, 124)
- HSL
- hsl(191.43 9.25% 44.51%) → hsl(191 9% 45%)
- HWB
- hwb(191 40% 51%)
- OKLCH
- oklch(0.560 0.021 213.5) · oklch(56.0% 0.021 213.5)
- OKLab
- oklab(0.560 -0.018 -0.012)
- Lab (D50)
- lab(49.14 -5.82 -4.43)
- LCH (D50)
- lch(49.14 7.31 217.27)
- Display P3
- color(display-p3 0.4167 0.4686 0.4839)
- Linear sRGB
- color(srgb-linear 0.1356 0.1878 0.2016)
Gamut: sRGB and Display P3
#67787C is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.098 and Display P3 reaches 0.131; this color uses 21% of the sRGB chroma available.
CSS snippets
.element {
color: #67787c;
color: rgb(103 120 124);
color: hsl(191 9% 45%);
color: oklch(0.560 0.021 213.5);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.560 0.021 213.5);
}
/* arbitrary values */
class="text-[#67787c] bg-[oklch(0.560_0.021_213.5)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4167 0.4686 0.4839); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #67787c calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 gray-500#6B7280
- neutral-500#737373
- v3 zinc-500#71717A
- gray-500#6A7282
- zinc-500#71717B
- v3 slate-500#64748B
- v3 stone-500#78716C
- stone-500#79716B
Lighter and darker, same hue and chroma
- #788A8E · oklch(0.620 0.021 213.5) · ΔL +0.06
- #56676B · oklch(0.500 0.021 213.5) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?