HSL(221, 31%, 74%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,31%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 31%, 74%) | color: hsl(221, 31%, 74%) | |
| HEX | #A8B5D1 | color: #A8B5D1 | |
| RGB | rgb(168, 181, 209) | color: rgb(168, 181, 209) | |
| CMYK | cmyk(20%, 13%, 0%, 18%) | — | |
| HSV | hsv(221, 20%, 82%) | — | |
| HWB | hwb(221 66% 18%) | color: hwb(221 66% 18%) | |
| OKLCH | oklch(0.7722 0.0426 265.63) | color: oklch(0.7722 0.0426 265.63) | |
| Lab | lab(73.53 1.41 -15.63) | color: lab(73.53 1.41 -15.63) | |
| LCH | lch(73.53 15.69 275.15) | color: lch(73.53 15.69 275.15) |
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)
#AEAECA — rgb(174, 174, 202)
Deuteranopia (Green-blind)
#ADACC9 — rgb(173, 172, 201)
Tritanopia (Blue-blind)
#A9C5C4 — rgb(169, 197, 196)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 31%, 74%);
text
color: hsl(221, 31%, 74%);
border
border: 2px solid hsl(221, 31%, 74%);
gradient light
background: linear-gradient(to right, hsl(221, 31%, 94%), hsl(221, 31%, 74%));
gradient dark
background: linear-gradient(to right, hsl(221, 31%, 74%), hsl(221, 31%, 54%))
hex
background-color: #A8B5D1;
tailwind
bg-[hsl(221,31%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 31%, 74%, 0.4);
css variable
--color-primary: hsl(221, 31%, 74%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 31%, 74%)?
HEX: #A8B5D1 | RGB: rgb(168, 181, 209) | CMYK: 20%, 13%, 0%, 18% | HSV: 221°, 20%, 82%. Copy any format from the conversion table above.
What colors go well with #A8B5D1?
The complementary color is HSL(41, 31%, 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, 31%, 74%) in CSS?
As HSL: color: hsl(221, 31%, 74%); — As HEX: color: #A8B5D1; — As RGB: color: rgb(168, 181, 209); — Tailwind CSS: bg-[hsl(221,31%,74%)] — CSS variable: --color-primary: hsl(221, 31%, 74%);