HEX to RGB: #4B585B

Also known as: Tailwind mist-600

Result

#4B585B → rgb(75 88 91)

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. 1. HEX → pairs

    #4B585B → 4B | 58 | 5B
  2. 2. base 16 → base 10

    R = 4B₁₆ = 4×16 + 11 = 75
    G = 58₁₆ = 5×16 + 8 = 88
    B = 5B₁₆ = 5×16 + 11 = 91
  3. 3. RGB

    rgb(75 88 91)

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

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

All converters →

Guides: What is OKLCH?