HSL(221, 86%, 56%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,86%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 86%, 56%) | color: hsl(221, 86%, 56%) | |
| HEX | #2E6BEF | color: #2E6BEF | |
| RGB | rgb(46, 107, 239) | color: rgb(46, 107, 239) | |
| CMYK | cmyk(81%, 55%, 0%, 6%) | — | |
| HSV | hsv(221, 81%, 94%) | — | |
| HWB | hwb(221 18% 6%) | color: hwb(221 18% 6%) | |
| OKLCH | oklch(0.5674 0.209 262.87) | color: oklch(0.5674 0.209 262.87) | |
| Lab | lab(48.67 28.06 -71.81) | color: lab(48.67 28.06 -71.81) | |
| LCH | lch(48.67 77.1 291.34) | color: lch(48.67 77.1 291.34) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#4849CF — rgb(72, 73, 207)
Deuteranopia (Green-blind)
#4540C7 — rgb(69, 64, 199)
Tritanopia (Blue-blind)
#31B6B0 — rgb(49, 182, 176)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 86%, 56%);
text
color: hsl(221, 86%, 56%);
border
border: 2px solid hsl(221, 86%, 56%);
gradient light
background: linear-gradient(to right, hsl(221, 86%, 76%), hsl(221, 86%, 56%));
gradient dark
background: linear-gradient(to right, hsl(221, 86%, 56%), hsl(221, 86%, 36%))
hex
background-color: #2E6BEF;
tailwind
bg-[hsl(221,86%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 86%, 56%, 0.4);
css variable
--color-primary: hsl(221, 86%, 56%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 86%, 56%)?
HEX: #2E6BEF | RGB: rgb(46, 107, 239) | CMYK: 81%, 55%, 0%, 6% | HSV: 221°, 81%, 94%. Copy any format from the conversion table above.
What colors go well with #2E6BEF?
The complementary color is HSL(41, 86%, 56%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(221, 86%, 56%) in CSS?
As HSL: color: hsl(221, 86%, 56%); — As HEX: color: #2E6BEF; — As RGB: color: rgb(46, 107, 239); — Tailwind CSS: bg-[hsl(221,86%,56%)] — CSS variable: --color-primary: hsl(221, 86%, 56%);