HSL(251, 68%, 77%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,68%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 68%, 77%) | color: hsl(251, 68%, 77%) | |
| HEX | #AB9CEC | color: #AB9CEC | |
| RGB | rgb(171, 156, 236) | color: rgb(171, 156, 236) | |
| CMYK | cmyk(28%, 34%, 0%, 7%) | — | |
| HSV | hsv(251, 34%, 93%) | — | |
| HWB | hwb(251 61% 7%) | color: hwb(251 61% 7%) | |
| OKLCH | oklch(0.7362 0.1147 291.94) | color: oklch(0.7362 0.1147 291.94) | |
| Lab | lab(68.38 22.55 -38.28) | color: lab(68.38 22.55 -38.28) | |
| LCH | lch(68.38 44.43 300.5) | color: lch(68.38 44.43 300.5) |
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)
#A5A4D9 — rgb(165, 164, 217)
Deuteranopia (Green-blind)
#A5A7D4 — rgb(165, 167, 212)
Tritanopia (Blue-blind)
#AAC9C6 — rgb(170, 201, 198)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 68%, 77%);
text
color: hsl(251, 68%, 77%);
border
border: 2px solid hsl(251, 68%, 77%);
gradient light
background: linear-gradient(to right, hsl(251, 68%, 97%), hsl(251, 68%, 77%));
gradient dark
background: linear-gradient(to right, hsl(251, 68%, 77%), hsl(251, 68%, 57%))
hex
background-color: #AB9CEC;
tailwind
bg-[hsl(251,68%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 68%, 77%, 0.4);
css variable
--color-primary: hsl(251, 68%, 77%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 68%, 77%)?
HEX: #AB9CEC | RGB: rgb(171, 156, 236) | CMYK: 28%, 34%, 0%, 7% | HSV: 251°, 34%, 93%. Copy any format from the conversion table above.
What colors go well with #AB9CEC?
The complementary color is HSL(71, 68%, 77%). 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, 68%, 77%) in CSS?
As HSL: color: hsl(251, 68%, 77%); — As HEX: color: #AB9CEC; — As RGB: color: rgb(171, 156, 236); — Tailwind CSS: bg-[hsl(251,68%,77%)] — CSS variable: --color-primary: hsl(251, 68%, 77%);