RGB to HEX: #00CED1

Also known as: CSS darkturquoise

Result

rgb(0 206 209) → #00CED1

Values are shown at full precision, so converting back gives exactly #00ced1. 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. base 10 → base 16

    R = 0 = 0×16 + 0 → 00
    G = 206 = 12×16 + 14 → CE
    B = 209 = 13×16 + 1 → D1
  2. 2. pairs → HEX

    00 CE D1 → #00CED1

All formats

HEX
#00ced1
RGB
rgb(0 206 209)
RGB (legacy)
rgb(0, 206, 209)
HSL
hsl(180.86 100.00% 40.98%) → hsl(181 100% 41%)
HWB
hwb(181 0% 18%)
OKLCH
oklch(0.772 0.131 196.6) · oklch(77.2% 0.131 196.6)
OKLab
oklab(0.772 -0.126 -0.038)
Lab (D50)
lab(74.90 -42.43 -14.23)
LCH (D50)
lch(74.90 44.75 198.54)
Display P3
color(display-p3 0.3649 0.7958 0.8125)
Linear sRGB
color(srgb-linear 0.0000 0.6172 0.6376)

Gamut: sRGB and Display P3

#00CED1 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.131 and Display P3 reaches 0.176; this color uses 100% of the sRGB chroma available.

CSS snippets

.element {
  color: #00ced1;
  color: rgb(0 206 209);
  color: hsl(181 100% 41%);
  color: oklch(0.772 0.131 196.6);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.772 0.131 196.6);
}
/* arbitrary values */
class="text-[#00ced1] bg-[oklch(0.772_0.131_196.6)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.3649 0.7958 0.8125); }
}

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

  • #38E2E5 · oklch(0.832 0.131 196.6) · ΔL +0.06
  • #00BABE · oklch(0.712 0.131 196.6) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?