HSL(221, 52%, 76%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,52%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 52%, 76%) | color: hsl(221, 52%, 76%) | |
| HEX | #A2B6E2 | color: #A2B6E2 | |
| RGB | rgb(162, 182, 226) | color: rgb(162, 182, 226) | |
| CMYK | cmyk(28%, 19%, 0%, 11%) | — | |
| HSV | hsv(221, 28%, 89%) | — | |
| HWB | hwb(221 64% 11%) | color: hwb(221 64% 11%) | |
| OKLCH | oklch(0.7764 0.0669 265.74) | color: oklch(0.7764 0.0669 265.74) | |
| Lab | lab(73.95 2.99 -24.28) | color: lab(73.95 2.99 -24.28) | |
| LCH | lch(73.95 24.46 277.02) | color: lch(73.95 24.46 277.02) |
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)
#ABABD7 — rgb(171, 171, 215)
Deuteranopia (Green-blind)
#AAA8D5 — rgb(170, 168, 213)
Tritanopia (Blue-blind)
#A3CFCD — rgb(163, 207, 205)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 52%, 76%);
text
color: hsl(221, 52%, 76%);
border
border: 2px solid hsl(221, 52%, 76%);
gradient light
background: linear-gradient(to right, hsl(221, 52%, 96%), hsl(221, 52%, 76%));
gradient dark
background: linear-gradient(to right, hsl(221, 52%, 76%), hsl(221, 52%, 56%))
hex
background-color: #A2B6E2;
tailwind
bg-[hsl(221,52%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 52%, 76%, 0.4);
css variable
--color-primary: hsl(221, 52%, 76%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 52%, 76%)?
HEX: #A2B6E2 | RGB: rgb(162, 182, 226) | CMYK: 28%, 19%, 0%, 11% | HSV: 221°, 28%, 89%. Copy any format from the conversion table above.
What colors go well with #A2B6E2?
The complementary color is HSL(41, 52%, 76%). 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, 52%, 76%) in CSS?
As HSL: color: hsl(221, 52%, 76%); — As HEX: color: #A2B6E2; — As RGB: color: rgb(162, 182, 226); — Tailwind CSS: bg-[hsl(221,52%,76%)] — CSS variable: --color-primary: hsl(221, 52%, 76%);