HSL(231, 88%, 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(231,88%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 88%, 59%) | color: hsl(231, 88%, 59%) | |
| HEX | #3A56F2 | color: #3A56F2 | |
| RGB | rgb(58, 86, 242) | color: rgb(58, 86, 242) | |
| CMYK | cmyk(76%, 64%, 0%, 5%) | — | |
| HSV | hsv(231, 76%, 95%) | — | |
| HWB | hwb(231 23% 5%) | color: hwb(231 23% 5%) | |
| OKLCH | oklch(0.536 0.2339 268.77) | color: oklch(0.536 0.2339 268.77) | |
| Lab | lab(44.18 43.32 -80.81) | color: lab(44.18 43.32 -80.81) | |
| LCH | lch(44.18 91.69 298.19) | color: lch(44.18 91.69 298.19) |
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)
#4646CC — rgb(70, 70, 204)
Deuteranopia (Green-blind)
#4542C3 — rgb(69, 66, 195)
Tritanopia (Blue-blind)
#3BAEA8 — rgb(59, 174, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 88%, 59%);
text
color: hsl(231, 88%, 59%);
border
border: 2px solid hsl(231, 88%, 59%);
gradient light
background: linear-gradient(to right, hsl(231, 88%, 79%), hsl(231, 88%, 59%));
gradient dark
background: linear-gradient(to right, hsl(231, 88%, 59%), hsl(231, 88%, 39%))
hex
background-color: #3A56F2;
tailwind
bg-[hsl(231,88%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 88%, 59%, 0.4);
css variable
--color-primary: hsl(231, 88%, 59%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 88%, 59%)?
HEX: #3A56F2 | RGB: rgb(58, 86, 242) | CMYK: 76%, 64%, 0%, 5% | HSV: 231°, 76%, 95%. Copy any format from the conversion table above.
What colors go well with #3A56F2?
The complementary color is HSL(51, 88%, 59%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 88%, 59%) in CSS?
As HSL: color: hsl(231, 88%, 59%); — As HEX: color: #3A56F2; — As RGB: color: rgb(58, 86, 242); — Tailwind CSS: bg-[hsl(231,88%,59%)] — CSS variable: --color-primary: hsl(231, 88%, 59%);