HSL(251, 45%, 66%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,45%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 45%, 66%) | color: hsl(251, 45%, 66%) | |
| HEX | #9081CF | color: #9081CF | |
| RGB | rgb(144, 129, 207) | color: rgb(144, 129, 207) | |
| CMYK | cmyk(30%, 38%, 0%, 19%) | — | |
| HSV | hsv(252, 38%, 81%) | — | |
| HWB | hwb(252 50% 19%) | color: hwb(252 50% 19%) | |
| OKLCH | oklch(0.6484 0.1151 291.69) | color: oklch(0.6484 0.1151 291.69) | |
| Lab | lab(58.16 23.06 -38.3) | color: lab(58.16 23.06 -38.3) | |
| LCH | lch(58.16 44.71 301.05) | color: lch(58.16 44.71 301.05) |
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)
#8A89BC — rgb(138, 137, 188)
Deuteranopia (Green-blind)
#8A8CB8 — rgb(138, 140, 184)
Tritanopia (Blue-blind)
#8FADAA — rgb(143, 173, 170)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 45%, 66%);
text
color: hsl(251, 45%, 66%);
border
border: 2px solid hsl(251, 45%, 66%);
gradient light
background: linear-gradient(to right, hsl(251, 45%, 86%), hsl(251, 45%, 66%));
gradient dark
background: linear-gradient(to right, hsl(251, 45%, 66%), hsl(251, 45%, 46%))
hex
background-color: #9081CF;
tailwind
bg-[hsl(251,45%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 45%, 66%, 0.4);
css variable
--color-primary: hsl(251, 45%, 66%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 45%, 66%)?
HEX: #9081CF | RGB: rgb(144, 129, 207) | CMYK: 30%, 38%, 0%, 19% | HSV: 252°, 38%, 81%. Copy any format from the conversion table above.
What colors go well with #9081CF?
The complementary color is HSL(71, 45%, 66%). 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, 45%, 66%) in CSS?
As HSL: color: hsl(251, 45%, 66%); — As HEX: color: #9081CF; — As RGB: color: rgb(144, 129, 207); — Tailwind CSS: bg-[hsl(251,45%,66%)] — CSS variable: --color-primary: hsl(251, 45%, 66%);