HEX to RGB: #104E64

Also known as: Tailwind cyan-900

Result

#104E64 → rgb(16 78 100)

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

    #104E64 → 10 | 4E | 64
  2. 2. base 16 → base 10

    R = 10₁₆ = 1×16 + 0 = 16
    G = 4E₁₆ = 4×16 + 14 = 78
    B = 64₁₆ = 6×16 + 4 = 100
  3. 3. RGB

    rgb(16 78 100)

All formats

HEX
#104e64
RGB
rgb(16 78 100)
RGB (legacy)
rgb(16, 78, 100)
HSL
hsl(195.71 72.41% 22.75%) → hsl(196 72% 23%)
HWB
hwb(196 6% 61%)
OKLCH
oklch(0.397 0.070 227.2) · oklch(39.7% 0.070 227.2)
OKLab
oklab(0.397 -0.047 -0.051)
Lab (D50)
lab(30.28 -13.23 -18.68)
LCH (D50)
lch(30.28 22.89 234.69)
Display P3
color(display-p3 0.1418 0.3012 0.3836)
Linear sRGB
color(srgb-linear 0.0052 0.0762 0.1274)

Gamut: sRGB and Display P3

#104E64 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.077 and Display P3 reaches 0.101; this color uses 91% of the sRGB chroma available.

CSS snippets

.element {
  color: #104e64;
  color: rgb(16 78 100);
  color: hsl(196 72% 23%);
  color: oklch(0.397 0.070 227.2);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.397 0.070 227.2);
}
/* arbitrary values */
class="text-[#104e64] bg-[oklch(0.397_0.070_227.2)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.1418 0.3012 0.3836); }
}

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

  • #255F75 · oklch(0.457 0.070 227.2) · ΔL +0.06
  • #003E53 · oklch(0.337 0.070 227.2) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?