HSL(252, 99%, 55%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,99%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 99%, 55%) | color: hsl(252, 99%, 55%) | |
| HEX | #481BFE | color: #481BFE | |
| RGB | rgb(72, 27, 254) | color: rgb(72, 27, 254) | |
| CMYK | cmyk(72%, 89%, 0%, 0%) | — | |
| HSV | hsv(252, 89%, 100%) | — | |
| HWB | hwb(252 11% 0%) | color: hwb(252 11% 0%) | |
| OKLCH | oklch(0.4881 0.2904 275.73) | color: oklch(0.4881 0.2904 275.73) | |
| Lab | lab(36.58 75.36 -100.07) | color: lab(36.58 75.36 -100.07) | |
| LCH | lch(36.58 125.27 306.98) | color: lch(36.58 125.27 306.98) |
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)
#3534C7 — rgb(53, 52, 199)
Deuteranopia (Green-blind)
#373BBA — rgb(55, 59, 186)
Tritanopia (Blue-blind)
#469C92 — rgb(70, 156, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 99%, 55%);
text
color: hsl(252, 99%, 55%);
border
border: 2px solid hsl(252, 99%, 55%);
gradient light
background: linear-gradient(to right, hsl(252, 99%, 75%), hsl(252, 99%, 55%));
gradient dark
background: linear-gradient(to right, hsl(252, 99%, 55%), hsl(252, 99%, 35%))
hex
background-color: #481BFE;
tailwind
bg-[hsl(252,99%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 99%, 55%, 0.4);
css variable
--color-primary: hsl(252, 99%, 55%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 99%, 55%)?
HEX: #481BFE | RGB: rgb(72, 27, 254) | CMYK: 72%, 89%, 0%, 0% | HSV: 252°, 89%, 100%. Copy any format from the conversion table above.
What colors go well with #481BFE?
The complementary color is HSL(72, 99%, 55%). For a triadic harmony, use hues 252°, 12°, and 132°. For analogous combinations, try hues 222° and 282°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(252, 99%, 55%) in CSS?
As HSL: color: hsl(252, 99%, 55%); — As HEX: color: #481BFE; — As RGB: color: rgb(72, 27, 254); — Tailwind CSS: bg-[hsl(252,99%,55%)] — CSS variable: --color-primary: hsl(252, 99%, 55%);