HSL(240, 100%, 84%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(240,100%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(240, 100%, 84%) | color: hsl(240, 100%, 84%) | |
| HEX | #ADADFF | color: #ADADFF | |
| RGB | rgb(173, 173, 255) | color: rgb(173, 173, 255) | |
| CMYK | cmyk(32%, 32%, 0%, 0%) | — | |
| HSV | hsv(240, 32%, 100%) | — | |
| HWB | hwb(240 68% 0%) | color: hwb(240 68% 0%) | |
| OKLCH | oklch(0.7788 0.1161 283.37) | color: oklch(0.7788 0.1161 283.37) | |
| Lab | lab(73.54 18.28 -40.56) | color: lab(73.54 18.28 -40.56) | |
| LCH | lch(73.54 44.49 294.26) | color: lch(73.54 44.49 294.26) |
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)
#ADADEB — rgb(173, 173, 235)
Deuteranopia (Green-blind)
#ADADE6 — rgb(173, 173, 230)
Tritanopia (Blue-blind)
#ADDBD8 — rgb(173, 219, 216)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(240, 100%, 84%);
text
color: hsl(240, 100%, 84%);
border
border: 2px solid hsl(240, 100%, 84%);
gradient light
background: linear-gradient(to right, hsl(240, 100%, 100%), hsl(240, 100%, 84%));
gradient dark
background: linear-gradient(to right, hsl(240, 100%, 84%), hsl(240, 100%, 64%))
hex
background-color: #ADADFF;
tailwind
bg-[hsl(240,100%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(240, 100%, 84%, 0.4);
css variable
--color-primary: hsl(240, 100%, 84%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(240, 100%, 84%)?
HEX: #ADADFF | RGB: rgb(173, 173, 255) | CMYK: 32%, 32%, 0%, 0% | HSV: 240°, 32%, 100%. Copy any format from the conversion table above.
What colors go well with #ADADFF?
The complementary color is HSL(60, 100%, 84%). 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, 100%, 84%) in CSS?
As HSL: color: hsl(240, 100%, 84%); — As HEX: color: #ADADFF; — As RGB: color: rgb(173, 173, 255); — Tailwind CSS: bg-[hsl(240,100%,84%)] — CSS variable: --color-primary: hsl(240, 100%, 84%);