HSL(242, 47%, 75%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(242,47%,75%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(242, 47%, 75%) | color: hsl(242, 47%, 75%) | |
| HEX | #A3A1DD | color: #A3A1DD | |
| RGB | rgb(163, 161, 221) | color: rgb(163, 161, 221) | |
| CMYK | cmyk(26%, 27%, 0%, 13%) | — | |
| HSV | hsv(242, 27%, 87%) | — | |
| HWB | hwb(242 64% 13%) | color: hwb(242 64% 13%) | |
| OKLCH | oklch(0.7326 0.0863 285.59) | color: oklch(0.7326 0.0863 285.59) | |
| Lab | lab(68.38 13.75 -30.09) | color: lab(68.38 13.75 -30.09) | |
| LCH | lch(68.38 33.08 294.56) | color: lch(68.38 33.08 294.56) |
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)
#A2A2CE — rgb(162, 162, 206)
Deuteranopia (Green-blind)
#A2A2CB — rgb(162, 162, 203)
Tritanopia (Blue-blind)
#A3C3C1 — rgb(163, 195, 193)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(242, 47%, 75%);
text
color: hsl(242, 47%, 75%);
border
border: 2px solid hsl(242, 47%, 75%);
gradient light
background: linear-gradient(to right, hsl(242, 47%, 95%), hsl(242, 47%, 75%));
gradient dark
background: linear-gradient(to right, hsl(242, 47%, 75%), hsl(242, 47%, 55%))
hex
background-color: #A3A1DD;
tailwind
bg-[hsl(242,47%,75%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(242, 47%, 75%, 0.4);
css variable
--color-primary: hsl(242, 47%, 75%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(242, 47%, 75%)?
HEX: #A3A1DD | RGB: rgb(163, 161, 221) | CMYK: 26%, 27%, 0%, 13% | HSV: 242°, 27%, 87%. Copy any format from the conversion table above.
What colors go well with #A3A1DD?
The complementary color is HSL(62, 47%, 75%). For a triadic harmony, use hues 242°, 2°, and 122°. For analogous combinations, try hues 212° and 272°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(242, 47%, 75%) in CSS?
As HSL: color: hsl(242, 47%, 75%); — As HEX: color: #A3A1DD; — As RGB: color: rgb(163, 161, 221); — Tailwind CSS: bg-[hsl(242,47%,75%)] — CSS variable: --color-primary: hsl(242, 47%, 75%);