HSL(252, 71%, 72%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,71%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 71%, 72%) | color: hsl(252, 71%, 72%) | |
| HEX | #9985EA | color: #9985EA | |
| RGB | rgb(153, 133, 234) | color: rgb(153, 133, 234) | |
| CMYK | cmyk(35%, 43%, 0%, 8%) | — | |
| HSV | hsv(252, 43%, 92%) | — | |
| HWB | hwb(252 52% 8%) | color: hwb(252 52% 8%) | |
| OKLCH | oklch(0.6776 0.1463 291.08) | color: oklch(0.6776 0.1463 291.08) | |
| Lab | lab(61.21 30.21 -48.55) | color: lab(61.21 30.21 -48.55) | |
| LCH | lch(61.21 57.18 301.89) | color: lch(61.21 57.18 301.89) |
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)
#9090D2 — rgb(144, 144, 210)
Deuteranopia (Green-blind)
#9293CC — rgb(146, 147, 204)
Tritanopia (Blue-blind)
#98BEBA — rgb(152, 190, 186)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 71%, 72%);
text
color: hsl(252, 71%, 72%);
border
border: 2px solid hsl(252, 71%, 72%);
gradient light
background: linear-gradient(to right, hsl(252, 71%, 92%), hsl(252, 71%, 72%));
gradient dark
background: linear-gradient(to right, hsl(252, 71%, 72%), hsl(252, 71%, 52%))
hex
background-color: #9985EA;
tailwind
bg-[hsl(252,71%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 71%, 72%, 0.4);
css variable
--color-primary: hsl(252, 71%, 72%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 71%, 72%)?
HEX: #9985EA | RGB: rgb(153, 133, 234) | CMYK: 35%, 43%, 0%, 8% | HSV: 252°, 43%, 92%. Copy any format from the conversion table above.
What colors go well with #9985EA?
The complementary color is HSL(72, 71%, 72%). 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, 71%, 72%) in CSS?
As HSL: color: hsl(252, 71%, 72%); — As HEX: color: #9985EA; — As RGB: color: rgb(153, 133, 234); — Tailwind CSS: bg-[hsl(252,71%,72%)] — CSS variable: --color-primary: hsl(252, 71%, 72%);