HSL(251, 81%, 56%)
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,81%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 81%, 56%) | color: hsl(251, 81%, 56%) | |
| HEX | #5534EA | color: #5534EA | |
| RGB | rgb(85, 52, 234) | color: rgb(85, 52, 234) | |
| CMYK | cmyk(64%, 78%, 0%, 8%) | — | |
| HSV | hsv(251, 78%, 92%) | — | |
| HWB | hwb(251 20% 8%) | color: hwb(251 20% 8%) | |
| OKLCH | oklch(0.4968 0.2515 280.35) | color: oklch(0.4968 0.2515 280.35) | |
| Lab | lab(38.42 61.93 -85.71) | color: lab(38.42 61.93 -85.71) | |
| LCH | lch(38.42 105.74 305.85) | color: lch(38.42 105.74 305.85) |
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)
#4746BE — rgb(71, 70, 190)
Deuteranopia (Green-blind)
#494BB3 — rgb(73, 75, 179)
Tritanopia (Blue-blind)
#539B94 — rgb(83, 155, 148)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 81%, 56%);
text
color: hsl(251, 81%, 56%);
border
border: 2px solid hsl(251, 81%, 56%);
gradient light
background: linear-gradient(to right, hsl(251, 81%, 76%), hsl(251, 81%, 56%));
gradient dark
background: linear-gradient(to right, hsl(251, 81%, 56%), hsl(251, 81%, 36%))
hex
background-color: #5534EA;
tailwind
bg-[hsl(251,81%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 81%, 56%, 0.4);
css variable
--color-primary: hsl(251, 81%, 56%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 81%, 56%)?
HEX: #5534EA | RGB: rgb(85, 52, 234) | CMYK: 64%, 78%, 0%, 8% | HSV: 251°, 78%, 92%. Copy any format from the conversion table above.
What colors go well with #5534EA?
The complementary color is HSL(71, 81%, 56%). 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, 81%, 56%) in CSS?
As HSL: color: hsl(251, 81%, 56%); — As HEX: color: #5534EA; — As RGB: color: rgb(85, 52, 234); — Tailwind CSS: bg-[hsl(251,81%,56%)] — CSS variable: --color-primary: hsl(251, 81%, 56%);