HSL to HEX: #1447E6

Also known as: Tailwind blue-700

Result

hsl(225.43 84.00% 49.02%) → #1447E6

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

    H = 225.43°, S = 84.00%, L = 49.02%
  2. 2. C

    C = (1 − |2L − 1|) × S = 0.82354
  3. 3. X

    X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.19998   (H / 60° = 3.7572, sector 3)
  4. 4. m

    m = L − C / 2 = 0.07843
  5. 5. (R′, G′, B′) + m

    (R′, G′, B′) = (0.00000, 0.19998, 0.82354)
    R = round((0.00000 + 0.07843) × 255) = 20
    G = round((0.19998 + 0.07843) × 255) = 71
    B = round((0.82354 + 0.07843) × 255) = 230
  6. 6. RGB → HEX

    #1447E6

All formats

HEX
#1447e6
RGB
rgb(20 71 230)
RGB (legacy)
rgb(20, 71, 230)
HSL
hsl(225.43 84.00% 49.02%) → hsl(225 84% 49%)
HWB
hwb(225 8% 10%)
OKLCH
oklch(0.488 0.243 264.4) · oklch(48.8% 0.243 264.4)
OKLab
oklab(0.488 -0.024 -0.242)
Lab (D50)
lab(36.87 35.22 -85.77)
LCH (D50)
lch(36.87 92.72 292.33)
Display P3
color(display-p3 0.1379 0.2743 0.8678)
Linear sRGB
color(srgb-linear 0.0070 0.0630 0.7913)

Gamut: sRGB and Display P3

#1447E6 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.289 and Display P3 reaches 0.308; this color uses 84% of the sRGB chroma available.

CSS snippets

.element {
  color: #1447e6;
  color: rgb(20 71 230);
  color: hsl(225 84% 49%);
  color: oklch(0.488 0.243 264.4);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.488 0.243 264.4);
}
/* arbitrary values */
class="text-[#1447e6] bg-[oklch(0.488_0.243_264.4)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.1379 0.2743 0.8678); }
}

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

  • #245CFB · oklch(0.548 0.243 264.4) · ΔL +0.06
  • #0630D1 · oklch(0.428 0.243 264.4) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?