HSL(252, 97%, 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(252,97%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 97%, 47%) | color: hsl(252, 97%, 47%) | |
| HEX | #3204EC | color: #3204EC | |
| RGB | rgb(50, 4, 236) | color: rgb(50, 4, 236) | |
| CMYK | cmyk(79%, 98%, 0%, 7%) | — | |
| HSV | hsv(252, 98%, 93%) | — | |
| HWB | hwb(252 2% 7%) | color: hwb(252 2% 7%) | |
| OKLCH | oklch(0.4432 0.2847 271.53) | color: oklch(0.4432 0.2847 271.53) | |
| Lab | lab(31.39 74.62 -98.6) | color: lab(31.39 74.62 -98.6) | |
| LCH | lch(31.39 123.65 307.12) | color: lch(31.39 123.65 307.12) |
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)
#1E1EB4 — rgb(30, 30, 180)
Deuteranopia (Green-blind)
#2124A6 — rgb(33, 36, 166)
Tritanopia (Blue-blind)
#30887E — rgb(48, 136, 126)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 97%, 47%);
text
color: hsl(252, 97%, 47%);
border
border: 2px solid hsl(252, 97%, 47%);
gradient light
background: linear-gradient(to right, hsl(252, 97%, 67%), hsl(252, 97%, 47%));
gradient dark
background: linear-gradient(to right, hsl(252, 97%, 47%), hsl(252, 97%, 27%))
hex
background-color: #3204EC;
tailwind
bg-[hsl(252,97%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 97%, 47%, 0.4);
css variable
--color-primary: hsl(252, 97%, 47%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 97%, 47%)?
HEX: #3204EC | RGB: rgb(50, 4, 236) | CMYK: 79%, 98%, 0%, 7% | HSV: 252°, 98%, 93%. Copy any format from the conversion table above.
What colors go well with #3204EC?
The complementary color is HSL(72, 97%, 47%). 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, 97%, 47%) in CSS?
As HSL: color: hsl(252, 97%, 47%); — As HEX: color: #3204EC; — As RGB: color: rgb(50, 4, 236); — Tailwind CSS: bg-[hsl(252,97%,47%)] — CSS variable: --color-primary: hsl(252, 97%, 47%);