HSL to HEX: #67787C

Also known as: Tailwind mist-500

Result

hsl(191.43 9.25% 44.51%) → #67787C

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. 1. input

    H = 191.43°, S = 9.25%, L = 44.51%
  2. 2. C

    C = (1 − |2L − 1|) × S = 0.08234
  3. 3. X

    X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.06666   (H / 60° = 3.1905, sector 3)
  4. 4. m

    m = L − C / 2 = 0.40393
  5. 5. (R′, G′, B′) + m

    (R′, G′, B′) = (0.00000, 0.06666, 0.08234)
    R = round((0.00000 + 0.40393) × 255) = 103
    G = round((0.06666 + 0.40393) × 255) = 120
    B = round((0.08234 + 0.40393) × 255) = 124
  6. 6. RGB → HEX

    #67787C

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).

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

All converters →

Guides: What is OKLCH?