HSL(230, 88%, 57%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,88%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 88%, 57%) | color: hsl(230, 88%, 57%) | |
| HEX | #3151F2 | color: #3151F2 | |
| RGB | rgb(49, 81, 242) | color: rgb(49, 81, 242) | |
| CMYK | cmyk(80%, 67%, 0%, 5%) | — | |
| HSV | hsv(230, 80%, 95%) | — | |
| HWB | hwb(230 19% 5%) | color: hwb(230 19% 5%) | |
| OKLCH | oklch(0.524 0.2415 267.61) | color: oklch(0.524 0.2415 267.61) | |
| Lab | lab(42.68 45.59 -83.28) | color: lab(42.68 45.59 -83.28) | |
| LCH | lch(42.68 94.94 298.7) | color: lch(42.68 94.94 298.7) |
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)
#3F3FCB — rgb(63, 63, 203)
Deuteranopia (Green-blind)
#3D3BC2 — rgb(61, 59, 194)
Tritanopia (Blue-blind)
#33ACA6 — rgb(51, 172, 166)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 88%, 57%);
text
color: hsl(230, 88%, 57%);
border
border: 2px solid hsl(230, 88%, 57%);
gradient light
background: linear-gradient(to right, hsl(230, 88%, 77%), hsl(230, 88%, 57%));
gradient dark
background: linear-gradient(to right, hsl(230, 88%, 57%), hsl(230, 88%, 37%))
hex
background-color: #3151F2;
tailwind
bg-[hsl(230,88%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 88%, 57%, 0.4);
css variable
--color-primary: hsl(230, 88%, 57%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 88%, 57%)?
HEX: #3151F2 | RGB: rgb(49, 81, 242) | CMYK: 80%, 67%, 0%, 5% | HSV: 230°, 80%, 95%. Copy any format from the conversion table above.
What colors go well with #3151F2?
The complementary color is HSL(50, 88%, 57%). For a triadic harmony, use hues 230°, 350°, and 110°. For analogous combinations, try hues 200° and 260°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(230, 88%, 57%) in CSS?
As HSL: color: hsl(230, 88%, 57%); — As HEX: color: #3151F2; — As RGB: color: rgb(49, 81, 242); — Tailwind CSS: bg-[hsl(230,88%,57%)] — CSS variable: --color-primary: hsl(230, 88%, 57%);