HSL(227, 98%, 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(227,98%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 98%, 58%) | color: hsl(227, 98%, 58%) | |
| HEX | #2B58FD | color: #2B58FD | |
| RGB | rgb(43, 88, 253) | color: rgb(43, 88, 253) | |
| CMYK | cmyk(83%, 65%, 0%, 1%) | — | |
| HSV | hsv(227, 83%, 99%) | — | |
| HWB | hwb(227 17% 1%) | color: hwb(227 17% 1%) | |
| OKLCH | oklch(0.5438 0.2485 265.88) | color: oklch(0.5438 0.2485 265.88) | |
| Lab | lab(45.06 44.79 -85.54) | color: lab(45.06 44.79 -85.54) | |
| LCH | lch(45.06 96.56 297.64) | color: lch(45.06 96.56 297.64) |
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)
#3E3FD5 — rgb(62, 63, 213)
Deuteranopia (Green-blind)
#3C39CC — rgb(60, 57, 204)
Tritanopia (Blue-blind)
#2DB6AF — rgb(45, 182, 175)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 98%, 58%);
text
color: hsl(227, 98%, 58%);
border
border: 2px solid hsl(227, 98%, 58%);
gradient light
background: linear-gradient(to right, hsl(227, 98%, 78%), hsl(227, 98%, 58%));
gradient dark
background: linear-gradient(to right, hsl(227, 98%, 58%), hsl(227, 98%, 38%))
hex
background-color: #2B58FD;
tailwind
bg-[hsl(227,98%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 98%, 58%, 0.4);
css variable
--color-primary: hsl(227, 98%, 58%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 98%, 58%)?
HEX: #2B58FD | RGB: rgb(43, 88, 253) | CMYK: 83%, 65%, 0%, 1% | HSV: 227°, 83%, 99%. Copy any format from the conversion table above.
What colors go well with #2B58FD?
The complementary color is HSL(47, 98%, 58%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(227, 98%, 58%) in CSS?
As HSL: color: hsl(227, 98%, 58%); — As HEX: color: #2B58FD; — As RGB: color: rgb(43, 88, 253); — Tailwind CSS: bg-[hsl(227,98%,58%)] — CSS variable: --color-primary: hsl(227, 98%, 58%);