HEX to OKLCH: #BEDBFF
Also known as: Tailwind blue-200
Result
#BEDBFF → oklch(0.882 0.059 254.0)
Values are shown at full precision, so converting back gives exactly #bedbff. 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. sRGB → linear
R: 190/255 = 0.74510 → 0.514918 (((x + 0.055) / 1.055)^2.4) G: 219/255 = 0.85882 → 0.708376 (((x + 0.055) / 1.055)^2.4) B: 255/255 = 1.00000 → 1.000000 (((x + 0.055) / 1.055)^2.4)
2. linear sRGB → LMS
l = 0.4122·R + 0.5363·G + 0.0514·B = 0.643631 m = 0.2119·R + 0.6807·G + 0.1074·B = 0.698701 s = 0.0883·R + 0.2817·G + 0.6300·B = 0.875010
3. cube root
l′ = ∛0.643631 = 0.863401 m′ = ∛0.698701 = 0.887354 s′ = ∛0.875010 = 0.956469
4. LMS′ → Oklab
L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.88203 a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = -0.01624 b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = -0.05651
5. Oklab → OKLCH
C = √(a² + b²) = 0.05880 H = atan2(b, a) = 253.969° L = 0.88203
6. OKLCH
oklch(0.88203 0.05880 253.969) rounded: oklch(0.882 0.059 254.0)
All formats
- HEX
- #bedbff
- RGB
- rgb(190 219 255)
- RGB (legacy)
- rgb(190, 219, 255)
- HSL
- hsl(213.23 100.00% 87.25%) → hsl(213 100% 87%)
- HWB
- hwb(213 75% 0%)
- OKLCH
- oklch(0.882 0.059 254.0) · oklch(88.2% 0.059 254.0)
- OKLab
- oklab(0.882 -0.016 -0.057)
- Lab (D50)
- lab(86.16 -4.09 -20.99)
- LCH (D50)
- lch(86.16 21.39 258.98)
- Display P3
- color(display-p3 0.7669 0.8554 0.9870)
- Linear sRGB
- color(srgb-linear 0.5149 0.7084 1.0000)
Gamut: sRGB and Display P3
#BEDBFF is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.059 and Display P3 reaches 0.064; this color uses 100% of the sRGB chroma available.
CSS snippets
.element {
color: #bedbff;
color: rgb(190 219 255);
color: hsl(213 100% 87%);
color: oklch(0.882 0.059 254.0);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.882 0.059 254.0);
}
/* arbitrary values */
class="text-[#bedbff] bg-[oklch(0.882_0.059_254.0)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.7669 0.8554 0.9870); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #bedbff calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 blue-200#BFDBFE
- v3 indigo-200#C7D2FE
- indigo-200#C6D2FF
- sky-200#B8E6FE
- v3 sky-200#BAE6FD
- slate-300#CAD5E2
- v3 violet-200#DDD6FE
- violet-200#DDD6FF
Lighter and darker, same hue and chroma
- #D1EFFF · oklch(0.942 0.059 254.0) · ΔL +0.06
- #ABC7EB · oklch(0.822 0.059 254.0) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?