HSL(221, 66%, 78%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,66%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 66%, 78%) | color: hsl(221, 66%, 78%) | |
| HEX | #A2B9EC | color: #A2B9EC | |
| RGB | rgb(162, 185, 236) | color: rgb(162, 185, 236) | |
| CMYK | cmyk(31%, 22%, 0%, 7%) | — | |
| HSV | hsv(221, 31%, 93%) | — | |
| HWB | hwb(221 64% 7%) | color: hwb(221 64% 7%) | |
| OKLCH | oklch(0.7865 0.0773 265.75) | color: oklch(0.7865 0.0773 265.75) | |
| Lab | lab(75.1 3.8 -27.95) | color: lab(75.1 3.8 -27.95) | |
| LCH | lch(75.1 28.21 277.74) | color: lch(75.1 28.21 277.74) |
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)
#ACACE0 — rgb(172, 172, 224)
Deuteranopia (Green-blind)
#ABA9DD — rgb(171, 169, 221)
Tritanopia (Blue-blind)
#A3D6D4 — rgb(163, 214, 212)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 66%, 78%);
text
color: hsl(221, 66%, 78%);
border
border: 2px solid hsl(221, 66%, 78%);
gradient light
background: linear-gradient(to right, hsl(221, 66%, 98%), hsl(221, 66%, 78%));
gradient dark
background: linear-gradient(to right, hsl(221, 66%, 78%), hsl(221, 66%, 58%))
hex
background-color: #A2B9EC;
tailwind
bg-[hsl(221,66%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 66%, 78%, 0.4);
css variable
--color-primary: hsl(221, 66%, 78%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 66%, 78%)?
HEX: #A2B9EC | RGB: rgb(162, 185, 236) | CMYK: 31%, 22%, 0%, 7% | HSV: 221°, 31%, 93%. Copy any format from the conversion table above.
What colors go well with #A2B9EC?
The complementary color is HSL(41, 66%, 78%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(221, 66%, 78%) in CSS?
As HSL: color: hsl(221, 66%, 78%); — As HEX: color: #A2B9EC; — As RGB: color: rgb(162, 185, 236); — Tailwind CSS: bg-[hsl(221,66%,78%)] — CSS variable: --color-primary: hsl(221, 66%, 78%);