HSL(249, 95%, 55%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(249,95%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(249, 95%, 55%) | color: hsl(249, 95%, 55%) | |
| HEX | #401FF9 | color: #401FF9 | |
| RGB | rgb(64, 31, 249) | color: rgb(64, 31, 249) | |
| CMYK | cmyk(74%, 88%, 0%, 2%) | — | |
| HSV | hsv(249, 88%, 98%) | — | |
| HWB | hwb(249 12% 2%) | color: hwb(249 12% 2%) | |
| OKLCH | oklch(0.4797 0.2855 273.85) | color: oklch(0.4797 0.2855 273.85) | |
| Lab | lab(35.81 72.59 -98.58) | color: lab(35.81 72.59 -98.58) | |
| LCH | lch(35.81 122.42 306.37) | color: lch(35.81 122.42 306.37) |
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)
#3231C4 — rgb(50, 49, 196)
Deuteranopia (Green-blind)
#3436B8 — rgb(52, 54, 184)
Tritanopia (Blue-blind)
#3E9B91 — rgb(62, 155, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(249, 95%, 55%);
text
color: hsl(249, 95%, 55%);
border
border: 2px solid hsl(249, 95%, 55%);
gradient light
background: linear-gradient(to right, hsl(249, 95%, 75%), hsl(249, 95%, 55%));
gradient dark
background: linear-gradient(to right, hsl(249, 95%, 55%), hsl(249, 95%, 35%))
hex
background-color: #401FF9;
tailwind
bg-[hsl(249,95%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(249, 95%, 55%, 0.4);
css variable
--color-primary: hsl(249, 95%, 55%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(249, 95%, 55%)?
HEX: #401FF9 | RGB: rgb(64, 31, 249) | CMYK: 74%, 88%, 0%, 2% | HSV: 249°, 88%, 98%. Copy any format from the conversion table above.
What colors go well with #401FF9?
The complementary color is HSL(69, 95%, 55%). For a triadic harmony, use hues 249°, 9°, and 129°. For analogous combinations, try hues 219° and 279°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(249, 95%, 55%) in CSS?
As HSL: color: hsl(249, 95%, 55%); — As HEX: color: #401FF9; — As RGB: color: rgb(64, 31, 249); — Tailwind CSS: bg-[hsl(249,95%,55%)] — CSS variable: --color-primary: hsl(249, 95%, 55%);