HSL(252, 25%, 70%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,25%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 25%, 70%) | color: hsl(252, 25%, 70%) | |
| HEX | #A79FC6 | color: #A79FC6 | |
| RGB | rgb(167, 159, 198) | color: rgb(167, 159, 198) | |
| CMYK | cmyk(16%, 20%, 0%, 22%) | — | |
| HSV | hsv(252, 20%, 78%) | — | |
| HWB | hwb(252 62% 22%) | color: hwb(252 62% 22%) | |
| OKLCH | oklch(0.7226 0.0566 294.34) | color: oklch(0.7226 0.0566 294.34) | |
| Lab | lab(67.34 10.79 -18.94) | color: lab(67.34 10.79 -18.94) | |
| LCH | lch(67.34 21.8 299.67) | color: lch(67.34 21.8 299.67) |
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)
#A4A3BD — rgb(164, 163, 189)
Deuteranopia (Green-blind)
#A4A5BA — rgb(164, 165, 186)
Tritanopia (Blue-blind)
#A7B5B3 — rgb(167, 181, 179)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 25%, 70%);
text
color: hsl(252, 25%, 70%);
border
border: 2px solid hsl(252, 25%, 70%);
gradient light
background: linear-gradient(to right, hsl(252, 25%, 90%), hsl(252, 25%, 70%));
gradient dark
background: linear-gradient(to right, hsl(252, 25%, 70%), hsl(252, 25%, 50%))
hex
background-color: #A79FC6;
tailwind
bg-[hsl(252,25%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 25%, 70%, 0.4);
css variable
--color-primary: hsl(252, 25%, 70%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 25%, 70%)?
HEX: #A79FC6 | RGB: rgb(167, 159, 198) | CMYK: 16%, 20%, 0%, 22% | HSV: 252°, 20%, 78%. Copy any format from the conversion table above.
What colors go well with #A79FC6?
The complementary color is HSL(72, 25%, 70%). For a triadic harmony, use hues 252°, 12°, and 132°. For analogous combinations, try hues 222° and 282°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(252, 25%, 70%) in CSS?
As HSL: color: hsl(252, 25%, 70%); — As HEX: color: #A79FC6; — As RGB: color: rgb(167, 159, 198); — Tailwind CSS: bg-[hsl(252,25%,70%)] — CSS variable: --color-primary: hsl(252, 25%, 70%);