HSL(252, 37%, 71%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,37%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 37%, 71%) | color: hsl(252, 37%, 71%) | |
| HEX | #A59AD0 | color: #A59AD0 | |
| RGB | rgb(165, 154, 208) | color: rgb(165, 154, 208) | |
| CMYK | cmyk(21%, 26%, 0%, 18%) | — | |
| HSV | hsv(252, 26%, 82%) | — | |
| HWB | hwb(252 61% 18%) | color: hwb(252 61% 18%) | |
| OKLCH | oklch(0.715 0.0785 293.66) | color: oklch(0.715 0.0785 293.66) | |
| Lab | lab(66.26 15.23 -26.15) | color: lab(66.26 15.23 -26.15) | |
| LCH | lch(66.26 30.26 300.22) | color: lch(66.26 30.26 300.22) |
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)
#A0A0C3 — rgb(160, 160, 195)
Deuteranopia (Green-blind)
#A1A2C0 — rgb(161, 162, 192)
Tritanopia (Blue-blind)
#A4B9B6 — rgb(164, 185, 182)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 37%, 71%);
text
color: hsl(252, 37%, 71%);
border
border: 2px solid hsl(252, 37%, 71%);
gradient light
background: linear-gradient(to right, hsl(252, 37%, 91%), hsl(252, 37%, 71%));
gradient dark
background: linear-gradient(to right, hsl(252, 37%, 71%), hsl(252, 37%, 51%))
hex
background-color: #A59AD0;
tailwind
bg-[hsl(252,37%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 37%, 71%, 0.4);
css variable
--color-primary: hsl(252, 37%, 71%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 37%, 71%)?
HEX: #A59AD0 | RGB: rgb(165, 154, 208) | CMYK: 21%, 26%, 0%, 18% | HSV: 252°, 26%, 82%. Copy any format from the conversion table above.
What colors go well with #A59AD0?
The complementary color is HSL(72, 37%, 71%). 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, 37%, 71%) in CSS?
As HSL: color: hsl(252, 37%, 71%); — As HEX: color: #A59AD0; — As RGB: color: rgb(165, 154, 208); — Tailwind CSS: bg-[hsl(252,37%,71%)] — CSS variable: --color-primary: hsl(252, 37%, 71%);