HSL to HEX: #BEDBFF
Also known as: Tailwind blue-200
Result
hsl(213.23 100.00% 87.25%) → #BEDBFF
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. input
H = 213.23°, S = 100.00%, L = 87.25%
2. C
C = (1 − |2L − 1|) × S = 0.25500
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.11377 (H / 60° = 3.5538, sector 3)
4. m
m = L − C / 2 = 0.74500
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.11377, 0.25500) R = round((0.00000 + 0.74500) × 255) = 190 G = round((0.11377 + 0.74500) × 255) = 219 B = round((0.25500 + 0.74500) × 255) = 255
6. RGB → HEX
#BEDBFF
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?