HSL(251, 72%, 74%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,72%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 72%, 74%) | color: hsl(251, 72%, 74%) | |
| HEX | #9E8DEC | color: #9E8DEC | |
| RGB | rgb(158, 141, 236) | color: rgb(158, 141, 236) | |
| CMYK | cmyk(33%, 40%, 0%, 7%) | — | |
| HSV | hsv(251, 40%, 93%) | — | |
| HWB | hwb(251 56% 7%) | color: hwb(251 56% 7%) | |
| OKLCH | oklch(0.6975 0.1371 290.61) | color: oklch(0.6975 0.1371 290.61) | |
| Lab | lab(63.65 27.46 -45.77) | color: lab(63.65 27.46 -45.77) | |
| LCH | lch(63.65 53.38 300.96) | color: lch(63.65 53.38 300.96) |
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)
#9796D5 — rgb(151, 150, 213)
Deuteranopia (Green-blind)
#9899D0 — rgb(152, 153, 208)
Tritanopia (Blue-blind)
#9DC3BF — rgb(157, 195, 191)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 72%, 74%);
text
color: hsl(251, 72%, 74%);
border
border: 2px solid hsl(251, 72%, 74%);
gradient light
background: linear-gradient(to right, hsl(251, 72%, 94%), hsl(251, 72%, 74%));
gradient dark
background: linear-gradient(to right, hsl(251, 72%, 74%), hsl(251, 72%, 54%))
hex
background-color: #9E8DEC;
tailwind
bg-[hsl(251,72%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 72%, 74%, 0.4);
css variable
--color-primary: hsl(251, 72%, 74%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 72%, 74%)?
HEX: #9E8DEC | RGB: rgb(158, 141, 236) | CMYK: 33%, 40%, 0%, 7% | HSV: 251°, 40%, 93%. Copy any format from the conversion table above.
What colors go well with #9E8DEC?
The complementary color is HSL(71, 72%, 74%). 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%, 74%) in CSS?
As HSL: color: hsl(251, 72%, 74%); — As HEX: color: #9E8DEC; — As RGB: color: rgb(158, 141, 236); — Tailwind CSS: bg-[hsl(251,72%,74%)] — CSS variable: --color-primary: hsl(251, 72%, 74%);