HSL(246, 90%, 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(246,90%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(246, 90%, 41%) | color: hsl(246, 90%, 41%) | |
| HEX | #1D0AC7 | color: #1D0AC7 | |
| RGB | rgb(29, 10, 199) | color: rgb(29, 10, 199) | |
| CMYK | cmyk(85%, 95%, 0%, 22%) | — | |
| HSV | hsv(246, 95%, 78%) | — | |
| HWB | hwb(246 4% 22%) | color: hwb(246 4% 22%) | |
| OKLCH | oklch(0.3874 0.2514 268.44) | color: oklch(0.3874 0.2514 268.44) | |
| Lab | lab(25.56 63.92 -86.97) | color: lab(25.56 63.92 -86.97) | |
| LCH | lch(25.56 107.93 306.31) | color: lch(25.56 107.93 306.31) |
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)
#151599 — rgb(21, 21, 153)
Deuteranopia (Green-blind)
#16178E — rgb(22, 23, 142)
Tritanopia (Blue-blind)
#1C756D — rgb(28, 117, 109)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(246, 90%, 41%);
text
color: hsl(246, 90%, 41%);
border
border: 2px solid hsl(246, 90%, 41%);
gradient light
background: linear-gradient(to right, hsl(246, 90%, 61%), hsl(246, 90%, 41%));
gradient dark
background: linear-gradient(to right, hsl(246, 90%, 41%), hsl(246, 90%, 21%))
hex
background-color: #1D0AC7;
tailwind
bg-[hsl(246,90%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(246, 90%, 41%, 0.4);
css variable
--color-primary: hsl(246, 90%, 41%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(246, 90%, 41%)?
HEX: #1D0AC7 | RGB: rgb(29, 10, 199) | CMYK: 85%, 95%, 0%, 22% | HSV: 246°, 95%, 78%. Copy any format from the conversion table above.
What colors go well with #1D0AC7?
The complementary color is HSL(66, 90%, 41%). For a triadic harmony, use hues 246°, 6°, and 126°. For analogous combinations, try hues 216° and 276°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(246, 90%, 41%) in CSS?
As HSL: color: hsl(246, 90%, 41%); — As HEX: color: #1D0AC7; — As RGB: color: rgb(29, 10, 199); — Tailwind CSS: bg-[hsl(246,90%,41%)] — CSS variable: --color-primary: hsl(246, 90%, 41%);