HSL(251, 94%, 57%)
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,94%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 94%, 57%) | color: hsl(251, 94%, 57%) | |
| HEX | #502AF8 | color: #502AF8 | |
| RGB | rgb(80, 42, 248) | color: rgb(80, 42, 248) | |
| CMYK | cmyk(68%, 83%, 0%, 3%) | — | |
| HSV | hsv(251, 83%, 97%) | — | |
| HWB | hwb(251 16% 3%) | color: hwb(251 16% 3%) | |
| OKLCH | oklch(0.4978 0.2747 278.01) | color: oklch(0.4978 0.2747 278.01) | |
| Lab | lab(38.09 69.49 -94.19) | color: lab(38.09 69.49 -94.19) | |
| LCH | lch(38.09 117.05 306.42) | color: lch(38.09 117.05 306.42) |
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)
#403FC6 — rgb(64, 63, 198)
Deuteranopia (Green-blind)
#4245BA — rgb(66, 69, 186)
Tritanopia (Blue-blind)
#4E9F96 — rgb(78, 159, 150)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 94%, 57%);
text
color: hsl(251, 94%, 57%);
border
border: 2px solid hsl(251, 94%, 57%);
gradient light
background: linear-gradient(to right, hsl(251, 94%, 77%), hsl(251, 94%, 57%));
gradient dark
background: linear-gradient(to right, hsl(251, 94%, 57%), hsl(251, 94%, 37%))
hex
background-color: #502AF8;
tailwind
bg-[hsl(251,94%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 94%, 57%, 0.4);
css variable
--color-primary: hsl(251, 94%, 57%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 94%, 57%)?
HEX: #502AF8 | RGB: rgb(80, 42, 248) | CMYK: 68%, 83%, 0%, 3% | HSV: 251°, 83%, 97%. Copy any format from the conversion table above.
What colors go well with #502AF8?
The complementary color is HSL(71, 94%, 57%). 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, 94%, 57%) in CSS?
As HSL: color: hsl(251, 94%, 57%); — As HEX: color: #502AF8; — As RGB: color: rgb(80, 42, 248); — Tailwind CSS: bg-[hsl(251,94%,57%)] — CSS variable: --color-primary: hsl(251, 94%, 57%);