HSL(251, 32%, 74%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,32%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 32%, 74%) | color: hsl(251, 32%, 74%) | |
| HEX | #AFA7D2 | color: #AFA7D2 | |
| RGB | rgb(175, 167, 210) | color: rgb(175, 167, 210) | |
| CMYK | cmyk(17%, 20%, 0%, 18%) | — | |
| HSV | hsv(251, 20%, 82%) | — | |
| HWB | hwb(251 66% 18%) | color: hwb(251 66% 18%) | |
| OKLCH | oklch(0.7497 0.0617 293.38) | color: oklch(0.7497 0.0617 293.38) | |
| Lab | lab(70.46 11.55 -20.77) | color: lab(70.46 11.55 -20.77) | |
| LCH | lch(70.46 23.77 299.08) | color: lch(70.46 23.77 299.08) |
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)
#ACABC8 — rgb(172, 171, 200)
Deuteranopia (Green-blind)
#ACADC5 — rgb(172, 173, 197)
Tritanopia (Blue-blind)
#AFBFBE — rgb(175, 191, 190)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 32%, 74%);
text
color: hsl(251, 32%, 74%);
border
border: 2px solid hsl(251, 32%, 74%);
gradient light
background: linear-gradient(to right, hsl(251, 32%, 94%), hsl(251, 32%, 74%));
gradient dark
background: linear-gradient(to right, hsl(251, 32%, 74%), hsl(251, 32%, 54%))
hex
background-color: #AFA7D2;
tailwind
bg-[hsl(251,32%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 32%, 74%, 0.4);
css variable
--color-primary: hsl(251, 32%, 74%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 32%, 74%)?
HEX: #AFA7D2 | RGB: rgb(175, 167, 210) | CMYK: 17%, 20%, 0%, 18% | HSV: 251°, 20%, 82%. Copy any format from the conversion table above.
What colors go well with #AFA7D2?
The complementary color is HSL(71, 32%, 74%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(251, 32%, 74%) in CSS?
As HSL: color: hsl(251, 32%, 74%); — As HEX: color: #AFA7D2; — As RGB: color: rgb(175, 167, 210); — Tailwind CSS: bg-[hsl(251,32%,74%)] — CSS variable: --color-primary: hsl(251, 32%, 74%);