HSL(221, 66%, 79%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,66%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 66%, 79%) | color: hsl(221, 66%, 79%) | |
| HEX | #A6BCED | color: #A6BCED | |
| RGB | rgb(166, 188, 237) | color: rgb(166, 188, 237) | |
| CMYK | cmyk(30%, 21%, 0%, 7%) | — | |
| HSV | hsv(221, 30%, 93%) | — | |
| HWB | hwb(221 65% 7%) | color: hwb(221 65% 7%) | |
| OKLCH | oklch(0.7958 0.074 265.88) | color: oklch(0.7958 0.074 265.88) | |
| Lab | lab(76.18 3.55 -26.8) | color: lab(76.18 3.55 -26.8) | |
| LCH | lch(76.18 27.03 277.55) | color: lch(76.18 27.03 277.55) |
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)
#B0B0E1 — rgb(176, 176, 225)
Deuteranopia (Green-blind)
#AEADDE — rgb(174, 173, 222)
Tritanopia (Blue-blind)
#A7D8D6 — rgb(167, 216, 214)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 66%, 79%);
text
color: hsl(221, 66%, 79%);
border
border: 2px solid hsl(221, 66%, 79%);
gradient light
background: linear-gradient(to right, hsl(221, 66%, 99%), hsl(221, 66%, 79%));
gradient dark
background: linear-gradient(to right, hsl(221, 66%, 79%), hsl(221, 66%, 59%))
hex
background-color: #A6BCED;
tailwind
bg-[hsl(221,66%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 66%, 79%, 0.4);
css variable
--color-primary: hsl(221, 66%, 79%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 66%, 79%)?
HEX: #A6BCED | RGB: rgb(166, 188, 237) | CMYK: 30%, 21%, 0%, 7% | HSV: 221°, 30%, 93%. Copy any format from the conversion table above.
What colors go well with #A6BCED?
The complementary color is HSL(41, 66%, 79%). 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%, 79%) in CSS?
As HSL: color: hsl(221, 66%, 79%); — As HEX: color: #A6BCED; — As RGB: color: rgb(166, 188, 237); — Tailwind CSS: bg-[hsl(221,66%,79%)] — CSS variable: --color-primary: hsl(221, 66%, 79%);