HEX to RGB: #0369A1

Also known as: Tailwind v3 sky-700

Result

#0369A1 → rgb(3 105 161)

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

    #0369A1 → 03 | 69 | A1
  2. 2. base 16 → base 10

    R = 03₁₆ = 0×16 + 3 = 3
    G = 69₁₆ = 6×16 + 9 = 105
    B = A1₁₆ = 10×16 + 1 = 161
  3. 3. RGB

    rgb(3 105 161)

All formats

HEX
#0369a1
RGB
rgb(3 105 161)
RGB (legacy)
rgb(3, 105, 161)
HSL
hsl(201.27 96.34% 32.16%) → hsl(201 96% 32%)
HWB
hwb(201 1% 37%)
OKLCH
oklch(0.500 0.119 242.7) · oklch(50.0% 0.119 242.7)
OKLab
oklab(0.500 -0.055 -0.106)
Lab (D50)
lab(41.70 -9.35 -38.03)
LCH (D50)
lch(41.70 39.17 256.19)
Display P3
color(display-p3 0.1749 0.4053 0.6137)
Linear sRGB
color(srgb-linear 0.0009 0.1413 0.3564)

Gamut: sRGB and Display P3

#0369A1 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.120 and Display P3 reaches 0.157; this color uses 99% of the sRGB chroma available.

CSS snippets

.element {
  color: #0369a1;
  color: rgb(3 105 161);
  color: hsl(201 96% 32%);
  color: oklch(0.500 0.119 242.7);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.500 0.119 242.7);
}
/* arbitrary values */
class="text-[#0369a1] bg-[oklch(0.500_0.119_242.7)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.1749 0.4053 0.6137); }
}

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

  • #247BB4 · oklch(0.560 0.119 242.7) · ΔL +0.06
  • #00578E · oklch(0.440 0.119 242.7) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?