OKLCH to HEX: #B0E0E6

Also known as: CSS powderblue

Result

oklch(0.87508 0.05020 205.731) → #B0E0E6

Values are shown at full precision, so converting back gives exactly #b0e0e6. 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.87508 0.05020 205.731)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.04522
    b = C·sin H = -0.02179
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.852453
    m′ = L − 0.1056·a − 0.0639·b = 0.881245
    s′ = L − 0.0895·a − 1.2915·b = 0.907274
  4. 4. cube

    l = 0.852453³ = 0.619458
    m = 0.881245³ = 0.684369
    s = 0.907274³ = 0.746818
  5. 5. LMS → linear sRGB

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

    R = 0.69021 × 255 = 176.00 → 176
    G = 0.87842 × 255 = 224.00 → 224
    B = 0.90195 × 255 = 230.00 → 230
  7. 7. RGB → HEX

    #B0E0E6

All formats

HEX
#b0e0e6
RGB
rgb(176 224 230)
RGB (legacy)
rgb(176, 224, 230)
HSL
hsl(186.67 51.92% 79.61%) → hsl(187 52% 80%)
HWB
hwb(187 69% 10%)
OKLCH
oklch(0.875 0.050 205.7) · oklch(87.5% 0.050 205.7)
OKLab
oklab(0.875 -0.045 -0.022)
Lab (D50)
lab(85.95 -15.07 -8.31)
LCH (D50)
lch(85.95 17.21 208.88)
Display P3
color(display-p3 0.7283 0.8730 0.8972)
Linear sRGB
color(srgb-linear 0.4342 0.7454 0.7913)

Gamut: sRGB and Display P3

#B0E0E6 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.129 and Display P3 reaches 0.139; this color uses 39% of the sRGB chroma available.

CSS snippets

.element {
  color: #b0e0e6;
  color: rgb(176 224 230);
  color: hsl(187 52% 80%);
  color: oklch(0.875 0.050 205.7);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.875 0.050 205.7);
}
/* arbitrary values */
class="text-[#b0e0e6] bg-[oklch(0.875_0.050_205.7)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.7283 0.8730 0.8972); }
}

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

  • #C3F4FA · oklch(0.935 0.050 205.7) · ΔL +0.06
  • #9DCCD2 · oklch(0.815 0.050 205.7) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?