OKLCH to HEX: #B8E6FE

Also known as: Tailwind sky-200

Result

oklch(0.90048 0.05788 230.911) → #B8E6FE

Values are shown at full precision, so converting back gives exactly #b8e6fe. 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.90048 0.05788 230.911)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.03649
    b = C·sin H = -0.04492
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.876321
    m′ = L − 0.1056·a − 0.0639·b = 0.907201
    s′ = L − 0.0895·a − 1.2915·b = 0.961765
  4. 4. cube

    l = 0.876321³ = 0.672960
    m = 0.907201³ = 0.746639
    s = 0.961765³ = 0.889625
  5. 5. LMS → linear sRGB

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

    R = 0.72155 × 255 = 184.00 → 184
    G = 0.90196 × 255 = 230.00 → 230
    B = 0.99608 × 255 = 254.00 → 254
  7. 7. RGB → HEX

    #B8E6FE

All formats

HEX
#b8e6fe
RGB
rgb(184 230 254)
RGB (legacy)
rgb(184, 230, 254)
HSL
hsl(200.57 97.22% 85.88%) → hsl(201 97% 86%)
HWB
hwb(201 72% 0%)
OKLCH
oklch(0.900 0.058 230.9) · oklch(90.0% 0.058 230.9)
OKLab
oklab(0.900 -0.036 -0.045)
Lab (D50)
lab(88.64 -11.37 -16.82)
LCH (D50)
lch(88.64 20.30 235.93)
Display P3
color(display-p3 0.7578 0.8967 0.9858)
Linear sRGB
color(srgb-linear 0.4793 0.7913 0.9911)

Gamut: sRGB and Display P3

#B8E6FE is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.060 and Display P3 reaches 0.065; this color uses 97% of the sRGB chroma available.

CSS snippets

.element {
  color: #b8e6fe;
  color: rgb(184 230 254);
  color: hsl(201 97% 86%);
  color: oklch(0.900 0.058 230.9);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.900 0.058 230.9);
}
/* arbitrary values */
class="text-[#b8e6fe] bg-[oklch(0.900_0.058_230.9)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.7578 0.8967 0.9858); }
}

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

  • #CBFAFF · oklch(0.960 0.058 230.9) · ΔL +0.06
  • #A5D2EA · oklch(0.840 0.058 230.9) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?