OKLCH to HEX: #1447E6

Also known as: Tailwind blue-700

Result

oklch(0.48778 0.24322 264.405) → #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

    oklch(0.48778 0.24322 264.405)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.02371
    b = C·sin H = -0.24206
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.426144
    m′ = L − 0.1056·a − 0.0639·b = 0.505740
    s′ = L − 0.0895·a − 1.2915·b = 0.802521
  4. 4. cube

    l = 0.426144³ = 0.077387
    m = 0.505740³ = 0.129354
    s = 0.802521³ = 0.516855
  5. 5. LMS → linear sRGB

    R = 4.0767·l − 3.3077·m + 0.2310·s = 0.006998
    G = −1.2684·l + 2.6098·m − 0.3413·s = 0.063010
    B = −0.0042·l − 0.7034·m + 1.7076·s = 0.791274
  6. 6. linear → sRGB, × 255

    R = 0.07845 × 255 = 20.01 → 20
    G = 0.27843 × 255 = 71.00 → 71
    B = 0.90195 × 255 = 230.00 → 230
  7. 7. 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?