HSL(221, 12%, 72%)
Grayish Blue — Blue color
Adjust Color
Color Information
Color Name
Grayish Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(221,12%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 12%, 72%) | color: hsl(221, 12%, 72%) | |
| HEX | #AFB4C0 | color: #AFB4C0 | |
| RGB | rgb(175, 180, 192) | color: rgb(175, 180, 192) | |
| CMYK | cmyk(9%, 6%, 0%, 25%) | — | |
| HSV | hsv(222, 9%, 75%) | — | |
| HWB | hwb(222 68% 25%) | color: hwb(222 68% 25%) | |
| OKLCH | oklch(0.7697 0.018 267.75) | color: oklch(0.7697 0.018 267.75) | |
| Lab | lab(73.26 0.61 -6.69) | color: lab(73.26 0.61 -6.69) | |
| LCH | lch(73.26 6.72 275.21) | color: lch(73.26 6.72 275.21) |
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)
#B1B1BD — rgb(177, 177, 189)
Deuteranopia (Green-blind)
#B1B1BC — rgb(177, 177, 188)
Tritanopia (Blue-blind)
#AFBBBA — rgb(175, 187, 186)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 12%, 72%);
text
color: hsl(221, 12%, 72%);
border
border: 2px solid hsl(221, 12%, 72%);
gradient light
background: linear-gradient(to right, hsl(221, 12%, 92%), hsl(221, 12%, 72%));
gradient dark
background: linear-gradient(to right, hsl(221, 12%, 72%), hsl(221, 12%, 52%))
hex
background-color: #AFB4C0;
tailwind
bg-[hsl(221,12%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 12%, 72%, 0.4);
css variable
--color-primary: hsl(221, 12%, 72%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 12%, 72%)?
HEX: #AFB4C0 | RGB: rgb(175, 180, 192) | CMYK: 9%, 6%, 0%, 25% | HSV: 222°, 9%, 75%. Copy any format from the conversion table above.
What colors go well with #AFB4C0?
The complementary color is HSL(41, 12%, 72%). 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, 12%, 72%) in CSS?
As HSL: color: hsl(221, 12%, 72%); — As HEX: color: #AFB4C0; — As RGB: color: rgb(175, 180, 192); — Tailwind CSS: bg-[hsl(221,12%,72%)] — CSS variable: --color-primary: hsl(221, 12%, 72%);