HSL(221, 20%, 74%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,20%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 20%, 74%) | color: hsl(221, 20%, 74%) | |
| HEX | #AFB8CA | color: #AFB8CA | |
| RGB | rgb(175, 184, 202) | color: rgb(175, 184, 202) | |
| CMYK | cmyk(13%, 9%, 0%, 21%) | — | |
| HSV | hsv(220, 13%, 79%) | — | |
| HWB | hwb(220 69% 21%) | color: hwb(220 69% 21%) | |
| OKLCH | oklch(0.7812 0.0275 264.4) | color: oklch(0.7812 0.0275 264.4) | |
| Lab | lab(74.61 0.52 -10.14) | color: lab(74.61 0.52 -10.14) | |
| LCH | lch(74.61 10.15 272.94) | color: lch(74.61 10.15 272.94) |
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)
#B3B3C6 — rgb(179, 179, 198)
Deuteranopia (Green-blind)
#B2B2C5 — rgb(178, 178, 197)
Tritanopia (Blue-blind)
#AFC2C1 — rgb(175, 194, 193)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 20%, 74%);
text
color: hsl(221, 20%, 74%);
border
border: 2px solid hsl(221, 20%, 74%);
gradient light
background: linear-gradient(to right, hsl(221, 20%, 94%), hsl(221, 20%, 74%));
gradient dark
background: linear-gradient(to right, hsl(221, 20%, 74%), hsl(221, 20%, 54%))
hex
background-color: #AFB8CA;
tailwind
bg-[hsl(221,20%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 20%, 74%, 0.4);
css variable
--color-primary: hsl(221, 20%, 74%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 20%, 74%)?
HEX: #AFB8CA | RGB: rgb(175, 184, 202) | CMYK: 13%, 9%, 0%, 21% | HSV: 220°, 13%, 79%. Copy any format from the conversion table above.
What colors go well with #AFB8CA?
The complementary color is HSL(41, 20%, 74%). 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, 20%, 74%) in CSS?
As HSL: color: hsl(221, 20%, 74%); — As HEX: color: #AFB8CA; — As RGB: color: rgb(175, 184, 202); — Tailwind CSS: bg-[hsl(221,20%,74%)] — CSS variable: --color-primary: hsl(221, 20%, 74%);