HSL(252, 66%, 78%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,66%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 66%, 78%) | color: hsl(252, 66%, 78%) | |
| HEX | #B1A2EC | color: #B1A2EC | |
| RGB | rgb(177, 162, 236) | color: rgb(177, 162, 236) | |
| CMYK | cmyk(25%, 31%, 0%, 7%) | — | |
| HSV | hsv(252, 31%, 93%) | — | |
| HWB | hwb(252 64% 7%) | color: hwb(252 64% 7%) | |
| OKLCH | oklch(0.7524 0.1059 292.98) | color: oklch(0.7524 0.1059 292.98) | |
| Lab | lab(70.35 20.92 -35.19) | color: lab(70.35 20.92 -35.19) | |
| LCH | lch(70.35 40.94 300.73) | color: lch(70.35 40.94 300.73) |
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)
#ABAADA — rgb(171, 170, 218)
Deuteranopia (Green-blind)
#ABADD6 — rgb(171, 173, 214)
Tritanopia (Blue-blind)
#B0CCC9 — rgb(176, 204, 201)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 66%, 78%);
text
color: hsl(252, 66%, 78%);
border
border: 2px solid hsl(252, 66%, 78%);
gradient light
background: linear-gradient(to right, hsl(252, 66%, 98%), hsl(252, 66%, 78%));
gradient dark
background: linear-gradient(to right, hsl(252, 66%, 78%), hsl(252, 66%, 58%))
hex
background-color: #B1A2EC;
tailwind
bg-[hsl(252,66%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 66%, 78%, 0.4);
css variable
--color-primary: hsl(252, 66%, 78%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 66%, 78%)?
HEX: #B1A2EC | RGB: rgb(177, 162, 236) | CMYK: 25%, 31%, 0%, 7% | HSV: 252°, 31%, 93%. Copy any format from the conversion table above.
What colors go well with #B1A2EC?
The complementary color is HSL(72, 66%, 78%). 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, 66%, 78%) in CSS?
As HSL: color: hsl(252, 66%, 78%); — As HEX: color: #B1A2EC; — As RGB: color: rgb(177, 162, 236); — Tailwind CSS: bg-[hsl(252,66%,78%)] — CSS variable: --color-primary: hsl(252, 66%, 78%);