HSL(241, 96%, 41%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(241,96%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(241, 96%, 41%) | color: hsl(241, 96%, 41%) | |
| HEX | #0804CD | color: #0804CD | |
| RGB | rgb(8, 4, 205) | color: rgb(8, 4, 205) | |
| CMYK | cmyk(96%, 98%, 0%, 20%) | — | |
| HSV | hsv(241, 98%, 80%) | — | |
| HWB | hwb(241 2% 20%) | color: hwb(241 2% 20%) | |
| OKLCH | oklch(0.3868 0.2633 264.93) | color: oklch(0.3868 0.2633 264.93) | |
| Lab | lab(25.4 66.4 -90.79) | color: lab(25.4 66.4 -90.79) | |
| LCH | lch(25.4 112.48 306.18) | color: lch(25.4 112.48 306.18) |
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)
#06069C — rgb(6, 6, 156)
Deuteranopia (Green-blind)
#070791 — rgb(7, 7, 145)
Tritanopia (Blue-blind)
#08766E — rgb(8, 118, 110)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(241, 96%, 41%);
text
color: hsl(241, 96%, 41%);
border
border: 2px solid hsl(241, 96%, 41%);
gradient light
background: linear-gradient(to right, hsl(241, 96%, 61%), hsl(241, 96%, 41%));
gradient dark
background: linear-gradient(to right, hsl(241, 96%, 41%), hsl(241, 96%, 21%))
hex
background-color: #0804CD;
tailwind
bg-[hsl(241,96%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(241, 96%, 41%, 0.4);
css variable
--color-primary: hsl(241, 96%, 41%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(241, 96%, 41%)?
HEX: #0804CD | RGB: rgb(8, 4, 205) | CMYK: 96%, 98%, 0%, 20% | HSV: 241°, 98%, 80%. Copy any format from the conversion table above.
What colors go well with #0804CD?
The complementary color is HSL(61, 96%, 41%). For a triadic harmony, use hues 241°, 1°, and 121°. For analogous combinations, try hues 211° and 271°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(241, 96%, 41%) in CSS?
As HSL: color: hsl(241, 96%, 41%); — As HEX: color: #0804CD; — As RGB: color: rgb(8, 4, 205); — Tailwind CSS: bg-[hsl(241,96%,41%)] — CSS variable: --color-primary: hsl(241, 96%, 41%);