HSL(240, 20%, 70%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(240,20%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(240, 20%, 70%) | color: hsl(240, 20%, 70%) | |
| HEX | #A3A3C2 | color: #A3A3C2 | |
| RGB | rgb(163, 163, 194) | color: rgb(163, 163, 194) | |
| CMYK | cmyk(16%, 16%, 0%, 24%) | — | |
| HSV | hsv(240, 16%, 76%) | — | |
| HWB | hwb(240 64% 24%) | color: hwb(240 64% 24%) | |
| OKLCH | oklch(0.7259 0.0446 285.23) | color: oklch(0.7259 0.0446 285.23) | |
| Lab | lab(67.93 6.38 -15.86) | color: lab(67.93 6.38 -15.86) | |
| LCH | lch(67.93 17.1 291.91) | color: lch(67.93 17.1 291.91) |
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)
#A3A3BA — rgb(163, 163, 186)
Deuteranopia (Green-blind)
#A3A3B9 — rgb(163, 163, 185)
Tritanopia (Blue-blind)
#A3B5B3 — rgb(163, 181, 179)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(240, 20%, 70%);
text
color: hsl(240, 20%, 70%);
border
border: 2px solid hsl(240, 20%, 70%);
gradient light
background: linear-gradient(to right, hsl(240, 20%, 90%), hsl(240, 20%, 70%));
gradient dark
background: linear-gradient(to right, hsl(240, 20%, 70%), hsl(240, 20%, 50%))
hex
background-color: #A3A3C2;
tailwind
bg-[hsl(240,20%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(240, 20%, 70%, 0.4);
css variable
--color-primary: hsl(240, 20%, 70%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(240, 20%, 70%)?
HEX: #A3A3C2 | RGB: rgb(163, 163, 194) | CMYK: 16%, 16%, 0%, 24% | HSV: 240°, 16%, 76%. Copy any format from the conversion table above.
What colors go well with #A3A3C2?
The complementary color is HSL(60, 20%, 70%). For a triadic harmony, use hues 240°, 0°, and 120°. For analogous combinations, try hues 210° and 270°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(240, 20%, 70%) in CSS?
As HSL: color: hsl(240, 20%, 70%); — As HEX: color: #A3A3C2; — As RGB: color: rgb(163, 163, 194); — Tailwind CSS: bg-[hsl(240,20%,70%)] — CSS variable: --color-primary: hsl(240, 20%, 70%);