HSL(249, 90%, 45%)
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,90%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(249, 90%, 45%) | color: hsl(249, 90%, 45%) | |
| HEX | #2A0BDA | color: #2A0BDA | |
| RGB | rgb(42, 11, 218) | color: rgb(42, 11, 218) | |
| CMYK | cmyk(81%, 95%, 0%, 15%) | — | |
| HSV | hsv(249, 95%, 85%) | — | |
| HWB | hwb(249 4% 15%) | color: hwb(249 4% 15%) | |
| OKLCH | oklch(0.4185 0.2671 270.57) | color: oklch(0.4185 0.2671 270.57) | |
| Lab | lab(28.88 68.86 -92.49) | color: lab(28.88 68.86 -92.49) | |
| LCH | lch(28.88 115.31 306.67) | color: lch(28.88 115.31 306.67) |
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)
#1D1CA8 — rgb(29, 28, 168)
Deuteranopia (Green-blind)
#1E219C — rgb(30, 33, 156)
Tritanopia (Blue-blind)
#288078 — rgb(40, 128, 120)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(249, 90%, 45%);
text
color: hsl(249, 90%, 45%);
border
border: 2px solid hsl(249, 90%, 45%);
gradient light
background: linear-gradient(to right, hsl(249, 90%, 65%), hsl(249, 90%, 45%));
gradient dark
background: linear-gradient(to right, hsl(249, 90%, 45%), hsl(249, 90%, 25%))
hex
background-color: #2A0BDA;
tailwind
bg-[hsl(249,90%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(249, 90%, 45%, 0.4);
css variable
--color-primary: hsl(249, 90%, 45%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(249, 90%, 45%)?
HEX: #2A0BDA | RGB: rgb(42, 11, 218) | CMYK: 81%, 95%, 0%, 15% | HSV: 249°, 95%, 85%. Copy any format from the conversion table above.
What colors go well with #2A0BDA?
The complementary color is HSL(69, 90%, 45%). 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, 90%, 45%) in CSS?
As HSL: color: hsl(249, 90%, 45%); — As HEX: color: #2A0BDA; — As RGB: color: rgb(42, 11, 218); — Tailwind CSS: bg-[hsl(249,90%,45%)] — CSS variable: --color-primary: hsl(249, 90%, 45%);