HSL(251, 72%, 72%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,72%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 72%, 72%) | color: hsl(251, 72%, 72%) | |
| HEX | #9784EB | color: #9784EB | |
| RGB | rgb(151, 132, 235) | color: rgb(151, 132, 235) | |
| CMYK | cmyk(36%, 44%, 0%, 8%) | — | |
| HSV | hsv(251, 44%, 92%) | — | |
| HWB | hwb(251 52% 8%) | color: hwb(251 52% 8%) | |
| OKLCH | oklch(0.6747 0.1492 290.3) | color: oklch(0.6747 0.1492 290.3) | |
| Lab | lab(60.85 30.52 -49.68) | color: lab(60.85 30.52 -49.68) | |
| LCH | lch(60.85 58.31 301.56) | color: lch(60.85 58.31 301.56) |
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)
#8F8FD2 — rgb(143, 143, 210)
Deuteranopia (Green-blind)
#9091CC — rgb(144, 145, 204)
Tritanopia (Blue-blind)
#96BEBA — rgb(150, 190, 186)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 72%, 72%);
text
color: hsl(251, 72%, 72%);
border
border: 2px solid hsl(251, 72%, 72%);
gradient light
background: linear-gradient(to right, hsl(251, 72%, 92%), hsl(251, 72%, 72%));
gradient dark
background: linear-gradient(to right, hsl(251, 72%, 72%), hsl(251, 72%, 52%))
hex
background-color: #9784EB;
tailwind
bg-[hsl(251,72%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 72%, 72%, 0.4);
css variable
--color-primary: hsl(251, 72%, 72%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 72%, 72%)?
HEX: #9784EB | RGB: rgb(151, 132, 235) | CMYK: 36%, 44%, 0%, 8% | HSV: 251°, 44%, 92%. Copy any format from the conversion table above.
What colors go well with #9784EB?
The complementary color is HSL(71, 72%, 72%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(251, 72%, 72%) in CSS?
As HSL: color: hsl(251, 72%, 72%); — As HEX: color: #9784EB; — As RGB: color: rgb(151, 132, 235); — Tailwind CSS: bg-[hsl(251,72%,72%)] — CSS variable: --color-primary: hsl(251, 72%, 72%);