HSL(252, 58%, 81%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,58%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 58%, 81%) | color: hsl(252, 58%, 81%) | |
| HEX | #BEB2EB | color: #BEB2EB | |
| RGB | rgb(190, 178, 235) | color: rgb(190, 178, 235) | |
| CMYK | cmyk(19%, 24%, 0%, 8%) | — | |
| HSV | hsv(253, 24%, 92%) | — | |
| HWB | hwb(253 70% 8%) | color: hwb(253 70% 8%) | |
| OKLCH | oklch(0.7932 0.0808 294.14) | color: oklch(0.7932 0.0808 294.14) | |
| Lab | lab(75.32 15.71 -26.89) | color: lab(75.32 15.71 -26.89) | |
| LCH | lch(75.32 31.14 300.29) | color: lch(75.32 31.14 300.29) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#B9B9DD — rgb(185, 185, 221)
Deuteranopia (Green-blind)
#BABADA — rgb(186, 186, 218)
Tritanopia (Blue-blind)
#BDD2D0 — rgb(189, 210, 208)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 58%, 81%);
text
color: hsl(252, 58%, 81%);
border
border: 2px solid hsl(252, 58%, 81%);
gradient light
background: linear-gradient(to right, hsl(252, 58%, 100%), hsl(252, 58%, 81%));
gradient dark
background: linear-gradient(to right, hsl(252, 58%, 81%), hsl(252, 58%, 61%))
hex
background-color: #BEB2EB;
tailwind
bg-[hsl(252,58%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 58%, 81%, 0.4);
css variable
--color-primary: hsl(252, 58%, 81%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 58%, 81%)?
HEX: #BEB2EB | RGB: rgb(190, 178, 235) | CMYK: 19%, 24%, 0%, 8% | HSV: 253°, 24%, 92%. Copy any format from the conversion table above.
What colors go well with #BEB2EB?
The complementary color is HSL(72, 58%, 81%). For a triadic harmony, use hues 252°, 12°, and 132°. For analogous combinations, try hues 222° and 282°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(252, 58%, 81%) in CSS?
As HSL: color: hsl(252, 58%, 81%); — As HEX: color: #BEB2EB; — As RGB: color: rgb(190, 178, 235); — Tailwind CSS: bg-[hsl(252,58%,81%)] — CSS variable: --color-primary: hsl(252, 58%, 81%);