HSL(232, 82%, 59%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,82%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 82%, 59%) | color: hsl(232, 82%, 59%) | |
| HEX | #4158EC | color: #4158EC | |
| RGB | rgb(65, 88, 236) | color: rgb(65, 88, 236) | |
| CMYK | cmyk(72%, 63%, 0%, 7%) | — | |
| HSV | hsv(232, 72%, 93%) | — | |
| HWB | hwb(232 26% 7%) | color: hwb(232 26% 7%) | |
| OKLCH | oklch(0.5373 0.2224 270.12) | color: oklch(0.5373 0.2224 270.12) | |
| Lab | lab(44.46 40.74 -76.97) | color: lab(44.46 40.74 -76.97) | |
| LCH | lch(44.46 87.09 297.89) | color: lch(44.46 87.09 297.89) |
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)
#4B4BC8 — rgb(75, 75, 200)
Deuteranopia (Green-blind)
#4A48C0 — rgb(74, 72, 192)
Tritanopia (Blue-blind)
#42ACA6 — rgb(66, 172, 166)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 82%, 59%);
text
color: hsl(232, 82%, 59%);
border
border: 2px solid hsl(232, 82%, 59%);
gradient light
background: linear-gradient(to right, hsl(232, 82%, 79%), hsl(232, 82%, 59%));
gradient dark
background: linear-gradient(to right, hsl(232, 82%, 59%), hsl(232, 82%, 39%))
hex
background-color: #4158EC;
tailwind
bg-[hsl(232,82%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 82%, 59%, 0.4);
css variable
--color-primary: hsl(232, 82%, 59%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 82%, 59%)?
HEX: #4158EC | RGB: rgb(65, 88, 236) | CMYK: 72%, 63%, 0%, 7% | HSV: 232°, 72%, 93%. Copy any format from the conversion table above.
What colors go well with #4158EC?
The complementary color is HSL(52, 82%, 59%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 82%, 59%) in CSS?
As HSL: color: hsl(232, 82%, 59%); — As HEX: color: #4158EC; — As RGB: color: rgb(65, 88, 236); — Tailwind CSS: bg-[hsl(232,82%,59%)] — CSS variable: --color-primary: hsl(232, 82%, 59%);