HSL(251, 52%, 74%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,52%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 52%, 74%) | color: hsl(251, 52%, 74%) | |
| HEX | #A79ADF | color: #A79ADF | |
| RGB | rgb(167, 154, 223) | color: rgb(167, 154, 223) | |
| CMYK | cmyk(25%, 31%, 0%, 13%) | — | |
| HSV | hsv(251, 31%, 87%) | — | |
| HWB | hwb(251 60% 13%) | color: hwb(251 60% 13%) | |
| OKLCH | oklch(0.7231 0.0996 292.37) | color: oklch(0.7231 0.0996 292.37) | |
| Lab | lab(67.02 19.37 -33.28) | color: lab(67.02 19.37 -33.28) | |
| LCH | lch(67.02 38.51 300.2) | color: lch(67.02 38.51 300.2) |
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)
#A1A1CE — rgb(161, 161, 206)
Deuteranopia (Green-blind)
#A2A3CA — rgb(162, 163, 202)
Tritanopia (Blue-blind)
#A6C1BE — rgb(166, 193, 190)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 52%, 74%);
text
color: hsl(251, 52%, 74%);
border
border: 2px solid hsl(251, 52%, 74%);
gradient light
background: linear-gradient(to right, hsl(251, 52%, 94%), hsl(251, 52%, 74%));
gradient dark
background: linear-gradient(to right, hsl(251, 52%, 74%), hsl(251, 52%, 54%))
hex
background-color: #A79ADF;
tailwind
bg-[hsl(251,52%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 52%, 74%, 0.4);
css variable
--color-primary: hsl(251, 52%, 74%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 52%, 74%)?
HEX: #A79ADF | RGB: rgb(167, 154, 223) | CMYK: 25%, 31%, 0%, 13% | HSV: 251°, 31%, 87%. Copy any format from the conversion table above.
What colors go well with #A79ADF?
The complementary color is HSL(71, 52%, 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, 52%, 74%) in CSS?
As HSL: color: hsl(251, 52%, 74%); — As HEX: color: #A79ADF; — As RGB: color: rgb(167, 154, 223); — Tailwind CSS: bg-[hsl(251,52%,74%)] — CSS variable: --color-primary: hsl(251, 52%, 74%);