HSL to HEX: #7DD3FC

Also known as: Tailwind v3 sky-300

Result

hsl(199.37 95.49% 73.92%) → #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

    H = 199.37°, S = 95.49%, L = 73.92%
  2. 2. C

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

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

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

    (R′, G′, B′) = (0.00000, 0.33728, 0.49808)
    R = round((0.00000 + 0.49016) × 255) = 125
    G = round((0.33728 + 0.49016) × 255) = 211
    B = round((0.49808 + 0.49016) × 255) = 252
  6. 6. 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?