HEX to RGB: #45556C

Also known as: Tailwind slate-600

Result

#45556C → rgb(69 85 108)

Values are shown at full precision, so converting back gives exactly #45556c. 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

    #45556C → 45 | 55 | 6C
  2. 2. base 16 → base 10

    R = 45₁₆ = 4×16 + 5 = 69
    G = 55₁₆ = 5×16 + 5 = 85
    B = 6C₁₆ = 6×16 + 12 = 108
  3. 3. RGB

    rgb(69 85 108)

All formats

HEX
#45556c
RGB
rgb(69 85 108)
RGB (legacy)
rgb(69, 85, 108)
HSL
hsl(215.38 22.03% 34.71%) → hsl(215 22% 35%)
HWB
hwb(215 27% 58%)
OKLCH
oklch(0.445 0.043 257.4) · oklch(44.5% 0.043 257.4)
OKLab
oklab(0.445 -0.009 -0.042)
Lab (D50)
lab(35.49 -1.71 -15.44)
LCH (D50)
lch(35.49 15.53 263.67)
Display P3
color(display-p3 0.2829 0.3315 0.4157)
Linear sRGB
color(srgb-linear 0.0595 0.0908 0.1500)

Gamut: sRGB and Display P3

#45556C is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.161 and Display P3 reaches 0.204; this color uses 27% of the sRGB chroma available.

CSS snippets

.element {
  color: #45556c;
  color: rgb(69 85 108);
  color: hsl(215 22% 35%);
  color: oklch(0.445 0.043 257.4);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.445 0.043 257.4);
}
/* arbitrary values */
class="text-[#45556c] bg-[oklch(0.445_0.043_257.4)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.2829 0.3315 0.4157); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #45556c 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

  • #55667E · oklch(0.505 0.043 257.4) · ΔL +0.06
  • #35455B · oklch(0.385 0.043 257.4) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?