HSL(221, 82%, 81%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,82%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 82%, 81%) | color: hsl(221, 82%, 81%) | |
| HEX | #A7C0F6 | color: #A7C0F6 | |
| RGB | rgb(167, 192, 246) | color: rgb(167, 192, 246) | |
| CMYK | cmyk(32%, 22%, 0%, 4%) | — | |
| HSV | hsv(221, 32%, 96%) | — | |
| HWB | hwb(221 65% 4%) | color: hwb(221 65% 4%) | |
| OKLCH | oklch(0.8083 0.0816 265.29) | color: oklch(0.8083 0.0816 265.29) | |
| Lab | lab(77.62 3.87 -29.44) | color: lab(77.62 3.87 -29.44) | |
| LCH | lch(77.62 29.69 277.49) | color: lch(77.62 29.69 277.49) |
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)
#B2B2E9 — rgb(178, 178, 233)
Deuteranopia (Green-blind)
#B0AFE6 — rgb(176, 175, 230)
Tritanopia (Blue-blind)
#A8DFDC — rgb(168, 223, 220)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 82%, 81%);
text
color: hsl(221, 82%, 81%);
border
border: 2px solid hsl(221, 82%, 81%);
gradient light
background: linear-gradient(to right, hsl(221, 82%, 100%), hsl(221, 82%, 81%));
gradient dark
background: linear-gradient(to right, hsl(221, 82%, 81%), hsl(221, 82%, 61%))
hex
background-color: #A7C0F6;
tailwind
bg-[hsl(221,82%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 82%, 81%, 0.4);
css variable
--color-primary: hsl(221, 82%, 81%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 82%, 81%)?
HEX: #A7C0F6 | RGB: rgb(167, 192, 246) | CMYK: 32%, 22%, 0%, 4% | HSV: 221°, 32%, 96%. Copy any format from the conversion table above.
What colors go well with #A7C0F6?
The complementary color is HSL(41, 82%, 81%). 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, 82%, 81%) in CSS?
As HSL: color: hsl(221, 82%, 81%); — As HEX: color: #A7C0F6; — As RGB: color: rgb(167, 192, 246); — Tailwind CSS: bg-[hsl(221,82%,81%)] — CSS variable: --color-primary: hsl(221, 82%, 81%);