HSL(247, 27%, 71%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,27%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 27%, 71%) | color: hsl(247, 27%, 71%) | |
| HEX | #A6A1C9 | color: #A6A1C9 | |
| RGB | rgb(166, 161, 201) | color: rgb(166, 161, 201) | |
| CMYK | cmyk(17%, 20%, 0%, 21%) | — | |
| HSV | hsv(248, 20%, 79%) | — | |
| HWB | hwb(248 63% 21%) | color: hwb(248 63% 21%) | |
| OKLCH | oklch(0.7269 0.0577 290.62) | color: oklch(0.7269 0.0577 290.62) | |
| Lab | lab(67.88 10.02 -19.79) | color: lab(67.88 10.02 -19.79) | |
| LCH | lch(67.88 22.18 296.85) | color: lch(67.88 22.18 296.85) |
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)
#A4A4BF — rgb(164, 164, 191)
Deuteranopia (Green-blind)
#A4A5BD — rgb(164, 165, 189)
Tritanopia (Blue-blind)
#A6B8B6 — rgb(166, 184, 182)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 27%, 71%);
text
color: hsl(247, 27%, 71%);
border
border: 2px solid hsl(247, 27%, 71%);
gradient light
background: linear-gradient(to right, hsl(247, 27%, 91%), hsl(247, 27%, 71%));
gradient dark
background: linear-gradient(to right, hsl(247, 27%, 71%), hsl(247, 27%, 51%))
hex
background-color: #A6A1C9;
tailwind
bg-[hsl(247,27%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 27%, 71%, 0.4);
css variable
--color-primary: hsl(247, 27%, 71%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 27%, 71%)?
HEX: #A6A1C9 | RGB: rgb(166, 161, 201) | CMYK: 17%, 20%, 0%, 21% | HSV: 248°, 20%, 79%. Copy any format from the conversion table above.
What colors go well with #A6A1C9?
The complementary color is HSL(67, 27%, 71%). For a triadic harmony, use hues 247°, 7°, and 127°. For analogous combinations, try hues 217° and 277°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(247, 27%, 71%) in CSS?
As HSL: color: hsl(247, 27%, 71%); — As HEX: color: #A6A1C9; — As RGB: color: rgb(166, 161, 201); — Tailwind CSS: bg-[hsl(247,27%,71%)] — CSS variable: --color-primary: hsl(247, 27%, 71%);