HSL(251, 100%, 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(251,100%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 100%, 45%) | color: hsl(251, 100%, 45%) | |
| HEX | #2A00E6 | color: #2A00E6 | |
| RGB | rgb(42, 0, 230) | color: rgb(42, 0, 230) | |
| CMYK | cmyk(82%, 100%, 0%, 10%) | — | |
| HSV | hsv(251, 100%, 90%) | — | |
| HWB | hwb(251 0% 10%) | color: hwb(251 0% 10%) | |
| OKLCH | oklch(0.4299 0.2819 269.96) | color: oklch(0.4299 0.2819 269.96) | |
| Lab | lab(29.92 73.66 -97.65) | color: lab(29.92 73.66 -97.65) | |
| LCH | lch(29.92 122.32 307.03) | color: lch(29.92 122.32 307.03) |
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)
#1817AE — rgb(24, 23, 174)
Deuteranopia (Green-blind)
#1A1DA1 — rgb(26, 29, 161)
Tritanopia (Blue-blind)
#288279 — rgb(40, 130, 121)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 100%, 45%);
text
color: hsl(251, 100%, 45%);
border
border: 2px solid hsl(251, 100%, 45%);
gradient light
background: linear-gradient(to right, hsl(251, 100%, 65%), hsl(251, 100%, 45%));
gradient dark
background: linear-gradient(to right, hsl(251, 100%, 45%), hsl(251, 100%, 25%))
hex
background-color: #2A00E6;
tailwind
bg-[hsl(251,100%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 100%, 45%, 0.4);
css variable
--color-primary: hsl(251, 100%, 45%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 100%, 45%)?
HEX: #2A00E6 | RGB: rgb(42, 0, 230) | CMYK: 82%, 100%, 0%, 10% | HSV: 251°, 100%, 90%. Copy any format from the conversion table above.
What colors go well with #2A00E6?
The complementary color is HSL(71, 100%, 45%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(251, 100%, 45%) in CSS?
As HSL: color: hsl(251, 100%, 45%); — As HEX: color: #2A00E6; — As RGB: color: rgb(42, 0, 230); — Tailwind CSS: bg-[hsl(251,100%,45%)] — CSS variable: --color-primary: hsl(251, 100%, 45%);