HSL(240, 100%, 71%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(240,100%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(240, 100%, 71%) | color: hsl(240, 100%, 71%) | |
| HEX | #6B6BFF | color: #6B6BFF | |
| RGB | rgb(107, 107, 255) | color: rgb(107, 107, 255) | |
| CMYK | cmyk(58%, 58%, 0%, 0%) | — | |
| HSV | hsv(240, 58%, 100%) | — | |
| HWB | hwb(240 42% 0%) | color: hwb(240 42% 0%) | |
| OKLCH | oklch(0.6098 0.2143 277.96) | color: oklch(0.6098 0.2143 277.96) | |
| Lab | lab(52.79 41.48 -73.87) | color: lab(52.79 41.48 -73.87) | |
| LCH | lch(52.79 84.72 299.32) | color: lch(52.79 84.72 299.32) |
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)
#6B6BDB — rgb(107, 107, 219)
Deuteranopia (Green-blind)
#6B6BD3 — rgb(107, 107, 211)
Tritanopia (Blue-blind)
#6BBFB9 — rgb(107, 191, 185)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(240, 100%, 71%);
text
color: hsl(240, 100%, 71%);
border
border: 2px solid hsl(240, 100%, 71%);
gradient light
background: linear-gradient(to right, hsl(240, 100%, 91%), hsl(240, 100%, 71%));
gradient dark
background: linear-gradient(to right, hsl(240, 100%, 71%), hsl(240, 100%, 51%))
hex
background-color: #6B6BFF;
tailwind
bg-[hsl(240,100%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(240, 100%, 71%, 0.4);
css variable
--color-primary: hsl(240, 100%, 71%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(240, 100%, 71%)?
HEX: #6B6BFF | RGB: rgb(107, 107, 255) | CMYK: 58%, 58%, 0%, 0% | HSV: 240°, 58%, 100%. Copy any format from the conversion table above.
What colors go well with #6B6BFF?
The complementary color is HSL(60, 100%, 71%). 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%, 71%) in CSS?
As HSL: color: hsl(240, 100%, 71%); — As HEX: color: #6B6BFF; — As RGB: color: rgb(107, 107, 255); — Tailwind CSS: bg-[hsl(240,100%,71%)] — CSS variable: --color-primary: hsl(240, 100%, 71%);