HSL(252, 86%, 84%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,86%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 86%, 84%) | color: hsl(252, 86%, 84%) | |
| HEX | #C1B3F9 | color: #C1B3F9 | |
| RGB | rgb(193, 179, 249) | color: rgb(193, 179, 249) | |
| CMYK | cmyk(22%, 28%, 0%, 2%) | — | |
| HSV | hsv(252, 28%, 98%) | — | |
| HWB | hwb(252 71% 2%) | color: hwb(252 71% 2%) | |
| OKLCH | oklch(0.8033 0.0987 293.22) | color: oklch(0.8033 0.0987 293.22) | |
| Lab | lab(76.32 19.23 -32.88) | color: lab(76.32 19.23 -32.88) | |
| LCH | lch(76.32 38.09 300.32) | color: lch(76.32 38.09 300.32) |
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)
#BBBBE8 — rgb(187, 187, 232)
Deuteranopia (Green-blind)
#BCBDE4 — rgb(188, 189, 228)
Tritanopia (Blue-blind)
#C0DBD8 — rgb(192, 219, 216)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 86%, 84%);
text
color: hsl(252, 86%, 84%);
border
border: 2px solid hsl(252, 86%, 84%);
gradient light
background: linear-gradient(to right, hsl(252, 86%, 100%), hsl(252, 86%, 84%));
gradient dark
background: linear-gradient(to right, hsl(252, 86%, 84%), hsl(252, 86%, 64%))
hex
background-color: #C1B3F9;
tailwind
bg-[hsl(252,86%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 86%, 84%, 0.4);
css variable
--color-primary: hsl(252, 86%, 84%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 86%, 84%)?
HEX: #C1B3F9 | RGB: rgb(193, 179, 249) | CMYK: 22%, 28%, 0%, 2% | HSV: 252°, 28%, 98%. Copy any format from the conversion table above.
What colors go well with #C1B3F9?
The complementary color is HSL(72, 86%, 84%). 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, 86%, 84%) in CSS?
As HSL: color: hsl(252, 86%, 84%); — As HEX: color: #C1B3F9; — As RGB: color: rgb(193, 179, 249); — Tailwind CSS: bg-[hsl(252,86%,84%)] — CSS variable: --color-primary: hsl(252, 86%, 84%);