HSL(247, 40%, 76%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,40%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 40%, 76%) | color: hsl(247, 40%, 76%) | |
| HEX | #AFA9DA | color: #AFA9DA | |
| RGB | rgb(175, 169, 218) | color: rgb(175, 169, 218) | |
| CMYK | cmyk(20%, 22%, 0%, 15%) | — | |
| HSV | hsv(247, 22%, 85%) | — | |
| HWB | hwb(247 66% 15%) | color: hwb(247 66% 15%) | |
| OKLCH | oklch(0.7568 0.0699 290.23) | color: oklch(0.7568 0.0699 290.23) | |
| Lab | lab(71.25 12.23 -23.96) | color: lab(71.25 12.23 -23.96) | |
| LCH | lch(71.25 26.9 297.04) | color: lch(71.25 26.9 297.04) |
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)
#ACACCE — rgb(172, 172, 206)
Deuteranopia (Green-blind)
#ADADCB — rgb(173, 173, 203)
Tritanopia (Blue-blind)
#AFC5C3 — rgb(175, 197, 195)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 40%, 76%);
text
color: hsl(247, 40%, 76%);
border
border: 2px solid hsl(247, 40%, 76%);
gradient light
background: linear-gradient(to right, hsl(247, 40%, 96%), hsl(247, 40%, 76%));
gradient dark
background: linear-gradient(to right, hsl(247, 40%, 76%), hsl(247, 40%, 56%))
hex
background-color: #AFA9DA;
tailwind
bg-[hsl(247,40%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 40%, 76%, 0.4);
css variable
--color-primary: hsl(247, 40%, 76%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 40%, 76%)?
HEX: #AFA9DA | RGB: rgb(175, 169, 218) | CMYK: 20%, 22%, 0%, 15% | HSV: 247°, 22%, 85%. Copy any format from the conversion table above.
What colors go well with #AFA9DA?
The complementary color is HSL(67, 40%, 76%). 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, 40%, 76%) in CSS?
As HSL: color: hsl(247, 40%, 76%); — As HEX: color: #AFA9DA; — As RGB: color: rgb(175, 169, 218); — Tailwind CSS: bg-[hsl(247,40%,76%)] — CSS variable: --color-primary: hsl(247, 40%, 76%);