HSL(251, 82%, 47%)
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,82%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 82%, 47%) | color: hsl(251, 82%, 47%) | |
| HEX | #3A16DA | color: #3A16DA | |
| RGB | rgb(58, 22, 218) | color: rgb(58, 22, 218) | |
| CMYK | cmyk(73%, 90%, 0%, 15%) | — | |
| HSV | hsv(251, 90%, 85%) | — | |
| HWB | hwb(251 9% 15%) | color: hwb(251 9% 15%) | |
| OKLCH | oklch(0.4335 0.2591 274.94) | color: oklch(0.4335 0.2591 274.94) | |
| Lab | lab(30.72 66.9 -89.39) | color: lab(30.72 66.9 -89.39) | |
| LCH | lch(30.72 111.65 306.81) | color: lch(30.72 111.65 306.81) |
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)
#2A2AAB — rgb(42, 42, 171)
Deuteranopia (Green-blind)
#2D2F9F — rgb(45, 47, 159)
Tritanopia (Blue-blind)
#38857D — rgb(56, 133, 125)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 82%, 47%);
text
color: hsl(251, 82%, 47%);
border
border: 2px solid hsl(251, 82%, 47%);
gradient light
background: linear-gradient(to right, hsl(251, 82%, 67%), hsl(251, 82%, 47%));
gradient dark
background: linear-gradient(to right, hsl(251, 82%, 47%), hsl(251, 82%, 27%))
hex
background-color: #3A16DA;
tailwind
bg-[hsl(251,82%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 82%, 47%, 0.4);
css variable
--color-primary: hsl(251, 82%, 47%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 82%, 47%)?
HEX: #3A16DA | RGB: rgb(58, 22, 218) | CMYK: 73%, 90%, 0%, 15% | HSV: 251°, 90%, 85%. Copy any format from the conversion table above.
What colors go well with #3A16DA?
The complementary color is HSL(71, 82%, 47%). 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, 82%, 47%) in CSS?
As HSL: color: hsl(251, 82%, 47%); — As HEX: color: #3A16DA; — As RGB: color: rgb(58, 22, 218); — Tailwind CSS: bg-[hsl(251,82%,47%)] — CSS variable: --color-primary: hsl(251, 82%, 47%);