HSL(222, 30%, 72%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(222,30%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 30%, 72%) | color: hsl(222, 30%, 72%) | |
| HEX | #A2AFCD | color: #A2AFCD | |
| RGB | rgb(162, 175, 205) | color: rgb(162, 175, 205) | |
| CMYK | cmyk(21%, 15%, 0%, 20%) | — | |
| HSV | hsv(222, 21%, 80%) | — | |
| HWB | hwb(222 63% 20%) | color: hwb(222 63% 20%) | |
| OKLCH | oklch(0.7539 0.0456 266.78) | color: oklch(0.7539 0.0456 266.78) | |
| Lab | lab(71.38 1.89 -16.72) | color: lab(71.38 1.89 -16.72) | |
| LCH | lch(71.38 16.83 276.45) | color: lch(71.38 16.83 276.45) |
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)
#A8A8C6 — rgb(168, 168, 198)
Deuteranopia (Green-blind)
#A7A6C4 — rgb(167, 166, 196)
Tritanopia (Blue-blind)
#A3C0BF — rgb(163, 192, 191)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 30%, 72%);
text
color: hsl(222, 30%, 72%);
border
border: 2px solid hsl(222, 30%, 72%);
gradient light
background: linear-gradient(to right, hsl(222, 30%, 92%), hsl(222, 30%, 72%));
gradient dark
background: linear-gradient(to right, hsl(222, 30%, 72%), hsl(222, 30%, 52%))
hex
background-color: #A2AFCD;
tailwind
bg-[hsl(222,30%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 30%, 72%, 0.4);
css variable
--color-primary: hsl(222, 30%, 72%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 30%, 72%)?
HEX: #A2AFCD | RGB: rgb(162, 175, 205) | CMYK: 21%, 15%, 0%, 20% | HSV: 222°, 21%, 80%. Copy any format from the conversion table above.
What colors go well with #A2AFCD?
The complementary color is HSL(42, 30%, 72%). 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, 30%, 72%) in CSS?
As HSL: color: hsl(222, 30%, 72%); — As HEX: color: #A2AFCD; — As RGB: color: rgb(162, 175, 205); — Tailwind CSS: bg-[hsl(222,30%,72%)] — CSS variable: --color-primary: hsl(222, 30%, 72%);