RGB to HEX: #083344

Also known as: Tailwind v3 cyan-950

Result

rgb(8 51 68) → #083344

Values are shown at full precision, so converting back gives exactly #083344. 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 = 8 = 0×16 + 8 → 08
    G = 51 = 3×16 + 3 → 33
    B = 68 = 4×16 + 4 → 44
  2. 2. pairs → HEX

    08 33 44 → #083344

All formats

HEX
#083344
RGB
rgb(8 51 68)
RGB (legacy)
rgb(8, 51, 68)
HSL
hsl(197.00 78.95% 14.90%) → hsl(197 79% 15%)
HWB
hwb(197 3% 73%)
OKLCH
oklch(0.302 0.054 229.7) · oklch(30.2% 0.054 229.7)
OKLab
oklab(0.302 -0.035 -0.041)
Lab (D50)
lab(19.13 -9.44 -15.01)
LCH (D50)
lch(19.13 17.73 237.82)
Display P3
color(display-p3 0.0852 0.1967 0.2602)
Linear sRGB
color(srgb-linear 0.0024 0.0331 0.0578)

Gamut: sRGB and Display P3

#083344 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.060 and Display P3 reaches 0.079; this color uses 90% of the sRGB chroma available.

CSS snippets

.element {
  color: #083344;
  color: rgb(8 51 68);
  color: hsl(197 79% 15%);
  color: oklch(0.302 0.054 229.7);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.302 0.054 229.7);
}
/* arbitrary values */
class="text-[#083344] bg-[oklch(0.302_0.054_229.7)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.0852 0.1967 0.2602); }
}

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

  • #1B4354 · oklch(0.362 0.054 229.7) · ΔL +0.06
  • #002434 · oklch(0.242 0.054 229.7) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?