HSL(251, 27%, 70%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,27%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 27%, 70%) | color: hsl(251, 27%, 70%) | |
| HEX | #A59EC7 | color: #A59EC7 | |
| RGB | rgb(165, 158, 199) | color: rgb(165, 158, 199) | |
| CMYK | cmyk(17%, 21%, 0%, 22%) | — | |
| HSV | hsv(250, 21%, 78%) | — | |
| HWB | hwb(250 62% 22%) | color: hwb(250 62% 22%) | |
| OKLCH | oklch(0.7193 0.0594 292.67) | color: oklch(0.7193 0.0594 292.67) | |
| Lab | lab(66.96 10.93 -20.09) | color: lab(66.96 10.93 -20.09) | |
| LCH | lch(66.96 22.87 298.55) | color: lch(66.96 22.87 298.55) |
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)
#A2A2BD — rgb(162, 162, 189)
Deuteranopia (Green-blind)
#A2A3BB — rgb(162, 163, 187)
Tritanopia (Blue-blind)
#A5B5B4 — rgb(165, 181, 180)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 27%, 70%);
text
color: hsl(251, 27%, 70%);
border
border: 2px solid hsl(251, 27%, 70%);
gradient light
background: linear-gradient(to right, hsl(251, 27%, 90%), hsl(251, 27%, 70%));
gradient dark
background: linear-gradient(to right, hsl(251, 27%, 70%), hsl(251, 27%, 50%))
hex
background-color: #A59EC7;
tailwind
bg-[hsl(251,27%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 27%, 70%, 0.4);
css variable
--color-primary: hsl(251, 27%, 70%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 27%, 70%)?
HEX: #A59EC7 | RGB: rgb(165, 158, 199) | CMYK: 17%, 21%, 0%, 22% | HSV: 250°, 21%, 78%. Copy any format from the conversion table above.
What colors go well with #A59EC7?
The complementary color is HSL(71, 27%, 70%). 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, 27%, 70%) in CSS?
As HSL: color: hsl(251, 27%, 70%); — As HEX: color: #A59EC7; — As RGB: color: rgb(165, 158, 199); — Tailwind CSS: bg-[hsl(251,27%,70%)] — CSS variable: --color-primary: hsl(251, 27%, 70%);