HSL(229, 99%, 58%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,99%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 99%, 58%) | color: hsl(229, 99%, 58%) | |
| HEX | #2A51FE | color: #2A51FE | |
| RGB | rgb(42, 81, 254) | color: rgb(42, 81, 254) | |
| CMYK | cmyk(83%, 68%, 0%, 0%) | — | |
| HSV | hsv(229, 83%, 100%) | — | |
| HWB | hwb(229 17% 0%) | color: hwb(229 17% 0%) | |
| OKLCH | oklch(0.533 0.2573 266.45) | color: oklch(0.533 0.2573 266.45) | |
| Lab | lab(43.55 49.28 -88.58) | color: lab(43.55 49.28 -88.58) | |
| LCH | lch(43.55 101.37 299.09) | color: lch(43.55 101.37 299.09) |
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)
#3B3BD4 — rgb(59, 59, 212)
Deuteranopia (Green-blind)
#3936CA — rgb(57, 54, 202)
Tritanopia (Blue-blind)
#2CB3AC — rgb(44, 179, 172)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 99%, 58%);
text
color: hsl(229, 99%, 58%);
border
border: 2px solid hsl(229, 99%, 58%);
gradient light
background: linear-gradient(to right, hsl(229, 99%, 78%), hsl(229, 99%, 58%));
gradient dark
background: linear-gradient(to right, hsl(229, 99%, 58%), hsl(229, 99%, 38%))
hex
background-color: #2A51FE;
tailwind
bg-[hsl(229,99%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 99%, 58%, 0.4);
css variable
--color-primary: hsl(229, 99%, 58%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 99%, 58%)?
HEX: #2A51FE | RGB: rgb(42, 81, 254) | CMYK: 83%, 68%, 0%, 0% | HSV: 229°, 83%, 100%. Copy any format from the conversion table above.
What colors go well with #2A51FE?
The complementary color is HSL(49, 99%, 58%). For a triadic harmony, use hues 229°, 349°, and 109°. For analogous combinations, try hues 199° and 259°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(229, 99%, 58%) in CSS?
As HSL: color: hsl(229, 99%, 58%); — As HEX: color: #2A51FE; — As RGB: color: rgb(42, 81, 254); — Tailwind CSS: bg-[hsl(229,99%,58%)] — CSS variable: --color-primary: hsl(229, 99%, 58%);