HSL(221, 87%, 55%)
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,87%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 87%, 55%) | color: hsl(221, 87%, 55%) | |
| HEX | #2868F0 | color: #2868F0 | |
| RGB | rgb(40, 104, 240) | color: rgb(40, 104, 240) | |
| CMYK | cmyk(83%, 57%, 0%, 6%) | — | |
| HSV | hsv(221, 83%, 94%) | — | |
| HWB | hwb(221 16% 6%) | color: hwb(221 16% 6%) | |
| OKLCH | oklch(0.5607 0.2151 262.64) | color: oklch(0.5607 0.2151 262.64) | |
| Lab | lab(47.8 29.86 -73.78) | color: lab(47.8 29.86 -73.78) | |
| LCH | lch(47.8 79.59 292.03) | color: lch(47.8 79.59 292.03) |
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)
#4444CF — rgb(68, 68, 207)
Deuteranopia (Green-blind)
#403BC7 — rgb(64, 59, 199)
Tritanopia (Blue-blind)
#2BB5AF — rgb(43, 181, 175)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 87%, 55%);
text
color: hsl(221, 87%, 55%);
border
border: 2px solid hsl(221, 87%, 55%);
gradient light
background: linear-gradient(to right, hsl(221, 87%, 75%), hsl(221, 87%, 55%));
gradient dark
background: linear-gradient(to right, hsl(221, 87%, 55%), hsl(221, 87%, 35%))
hex
background-color: #2868F0;
tailwind
bg-[hsl(221,87%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 87%, 55%, 0.4);
css variable
--color-primary: hsl(221, 87%, 55%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 87%, 55%)?
HEX: #2868F0 | RGB: rgb(40, 104, 240) | CMYK: 83%, 57%, 0%, 6% | HSV: 221°, 83%, 94%. Copy any format from the conversion table above.
What colors go well with #2868F0?
The complementary color is HSL(41, 87%, 55%). 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, 87%, 55%) in CSS?
As HSL: color: hsl(221, 87%, 55%); — As HEX: color: #2868F0; — As RGB: color: rgb(40, 104, 240); — Tailwind CSS: bg-[hsl(221,87%,55%)] — CSS variable: --color-primary: hsl(221, 87%, 55%);