HSL(221, 40%, 75%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,40%,75%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 40%, 75%) | color: hsl(221, 40%, 75%) | |
| HEX | #A6B6D9 | color: #A6B6D9 | |
| RGB | rgb(166, 182, 217) | color: rgb(166, 182, 217) | |
| CMYK | cmyk(24%, 16%, 0%, 15%) | — | |
| HSV | hsv(221, 24%, 85%) | — | |
| HWB | hwb(221 65% 15%) | color: hwb(221 65% 15%) | |
| OKLCH | oklch(0.7758 0.0532 265.8) | color: oklch(0.7758 0.0532 265.8) | |
| Lab | lab(73.91 2.06 -19.42) | color: lab(73.91 2.06 -19.42) | |
| LCH | lch(73.91 19.53 276.06) | color: lch(73.91 19.53 276.06) |
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)
#ADADD1 — rgb(173, 173, 209)
Deuteranopia (Green-blind)
#ACABCF — rgb(172, 171, 207)
Tritanopia (Blue-blind)
#A7CAC8 — rgb(167, 202, 200)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 40%, 75%);
text
color: hsl(221, 40%, 75%);
border
border: 2px solid hsl(221, 40%, 75%);
gradient light
background: linear-gradient(to right, hsl(221, 40%, 95%), hsl(221, 40%, 75%));
gradient dark
background: linear-gradient(to right, hsl(221, 40%, 75%), hsl(221, 40%, 55%))
hex
background-color: #A6B6D9;
tailwind
bg-[hsl(221,40%,75%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 40%, 75%, 0.4);
css variable
--color-primary: hsl(221, 40%, 75%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 40%, 75%)?
HEX: #A6B6D9 | RGB: rgb(166, 182, 217) | CMYK: 24%, 16%, 0%, 15% | HSV: 221°, 24%, 85%. Copy any format from the conversion table above.
What colors go well with #A6B6D9?
The complementary color is HSL(41, 40%, 75%). 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, 40%, 75%) in CSS?
As HSL: color: hsl(221, 40%, 75%); — As HEX: color: #A6B6D9; — As RGB: color: rgb(166, 182, 217); — Tailwind CSS: bg-[hsl(221,40%,75%)] — CSS variable: --color-primary: hsl(221, 40%, 75%);