OKLCH to HEX: #7DD3FC

Also known as: Tailwind v3 sky-300

Result

oklch(0.82759 0.10128 230.318) → #7DD3FC

Values are shown at full precision, so converting back gives exactly #7dd3fc. 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.82759 0.10128 230.318)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.06467
    b = C·sin H = -0.07795
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.785138
    m′ = L − 0.1056·a − 0.0639·b = 0.839394
    s′ = L − 0.0895·a − 1.2915·b = 0.934042
  4. 4. cube

    l = 0.785138³ = 0.483992
    m = 0.839394³ = 0.591422
    s = 0.934042³ = 0.814890
  5. 5. LMS → linear sRGB

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

    R = 0.49019 × 255 = 125.00 → 125
    G = 0.82746 × 255 = 211.00 → 211
    B = 0.98825 × 255 = 252.00 → 252
  7. 7. RGB → HEX

    #7DD3FC

All formats

HEX
#7dd3fc
RGB
rgb(125 211 252)
RGB (legacy)
rgb(125, 211, 252)
HSL
hsl(199.37 95.49% 73.92%) → hsl(199 95% 74%)
HWB
hwb(199 49% 1%)
OKLCH
oklch(0.828 0.101 230.3) · oklch(82.8% 0.101 230.3)
OKLab
oklab(0.828 -0.065 -0.078)
Lab (D50)
lab(80.27 -18.81 -28.72)
LCH (D50)
lch(80.27 34.33 236.77)
Display P3
color(display-p3 0.5697 0.8190 0.9718)
Linear sRGB
color(srgb-linear 0.2051 0.6514 0.9734)

Gamut: sRGB and Display P3

#7DD3FC is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.107 and Display P3 reaches 0.116; this color uses 95% of the sRGB chroma available.

CSS snippets

.element {
  color: #7dd3fc;
  color: rgb(125 211 252);
  color: hsl(199 95% 74%);
  color: oklch(0.828 0.101 230.3);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.828 0.101 230.3);
}
/* arbitrary values */
class="text-[#7dd3fc] bg-[oklch(0.828_0.101_230.3)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.5697 0.8190 0.9718); }
}

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

  • #91E7FF · oklch(0.888 0.101 230.3) · ΔL +0.06
  • #69BFE8 · oklch(0.768 0.101 230.3) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?