HSL(222, 66%, 79%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(222,66%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 66%, 79%) | color: hsl(222, 66%, 79%) | |
| HEX | #A6BBED | color: #A6BBED | |
| RGB | rgb(166, 187, 237) | color: rgb(166, 187, 237) | |
| CMYK | cmyk(30%, 21%, 0%, 7%) | — | |
| HSV | hsv(222, 30%, 93%) | — | |
| HWB | hwb(222 65% 7%) | color: hwb(222 65% 7%) | |
| OKLCH | oklch(0.7938 0.0751 266.95) | color: oklch(0.7938 0.0751 266.95) | |
| Lab | lab(75.92 4.1 -27.2) | color: lab(75.92 4.1 -27.2) | |
| LCH | lch(75.92 27.51 278.57) | color: lch(75.92 27.51 278.57) |
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)
#AFAFE1 — rgb(175, 175, 225)
Deuteranopia (Green-blind)
#AEACDE — rgb(174, 172, 222)
Tritanopia (Blue-blind)
#A7D7D5 — rgb(167, 215, 213)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 66%, 79%);
text
color: hsl(222, 66%, 79%);
border
border: 2px solid hsl(222, 66%, 79%);
gradient light
background: linear-gradient(to right, hsl(222, 66%, 99%), hsl(222, 66%, 79%));
gradient dark
background: linear-gradient(to right, hsl(222, 66%, 79%), hsl(222, 66%, 59%))
hex
background-color: #A6BBED;
tailwind
bg-[hsl(222,66%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 66%, 79%, 0.4);
css variable
--color-primary: hsl(222, 66%, 79%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 66%, 79%)?
HEX: #A6BBED | RGB: rgb(166, 187, 237) | CMYK: 30%, 21%, 0%, 7% | HSV: 222°, 30%, 93%. Copy any format from the conversion table above.
What colors go well with #A6BBED?
The complementary color is HSL(42, 66%, 79%). For a triadic harmony, use hues 222°, 342°, and 102°. For analogous combinations, try hues 192° and 252°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(222, 66%, 79%) in CSS?
As HSL: color: hsl(222, 66%, 79%); — As HEX: color: #A6BBED; — As RGB: color: rgb(166, 187, 237); — Tailwind CSS: bg-[hsl(222,66%,79%)] — CSS variable: --color-primary: hsl(222, 66%, 79%);