HSL(251, 85%, 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,85%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 85%, 45%) | color: hsl(251, 85%, 45%) | |
| HEX | #3511D4 | color: #3511D4 | |
| RGB | rgb(53, 17, 212) | color: rgb(53, 17, 212) | |
| CMYK | cmyk(75%, 92%, 0%, 17%) | — | |
| HSV | hsv(251, 92%, 83%) | — | |
| HWB | hwb(251 7% 17%) | color: hwb(251 7% 17%) | |
| OKLCH | oklch(0.4202 0.2562 274.05) | color: oklch(0.4202 0.2562 274.05) | |
| Lab | lab(29.18 66.43 -88.49) | color: lab(29.18 66.43 -88.49) | |
| LCH | lch(29.18 110.65 306.9) | color: lch(29.18 110.65 306.9) |
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)
#2525A5 — rgb(37, 37, 165)
Deuteranopia (Green-blind)
#282A9A — rgb(40, 42, 154)
Tritanopia (Blue-blind)
#338077 — rgb(51, 128, 119)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 85%, 45%);
text
color: hsl(251, 85%, 45%);
border
border: 2px solid hsl(251, 85%, 45%);
gradient light
background: linear-gradient(to right, hsl(251, 85%, 65%), hsl(251, 85%, 45%));
gradient dark
background: linear-gradient(to right, hsl(251, 85%, 45%), hsl(251, 85%, 25%))
hex
background-color: #3511D4;
tailwind
bg-[hsl(251,85%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 85%, 45%, 0.4);
css variable
--color-primary: hsl(251, 85%, 45%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 85%, 45%)?
HEX: #3511D4 | RGB: rgb(53, 17, 212) | CMYK: 75%, 92%, 0%, 17% | HSV: 251°, 92%, 83%. Copy any format from the conversion table above.
What colors go well with #3511D4?
The complementary color is HSL(71, 85%, 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, 85%, 45%) in CSS?
As HSL: color: hsl(251, 85%, 45%); — As HEX: color: #3511D4; — As RGB: color: rgb(53, 17, 212); — Tailwind CSS: bg-[hsl(251,85%,45%)] — CSS variable: --color-primary: hsl(251, 85%, 45%);