HSL(251, 83%, 48%)
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,83%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 83%, 48%) | color: hsl(251, 83%, 48%) | |
| HEX | #3A15E0 | color: #3A15E0 | |
| RGB | rgb(58, 21, 224) | color: rgb(58, 21, 224) | |
| CMYK | cmyk(74%, 91%, 0%, 12%) | — | |
| HSV | hsv(251, 91%, 88%) | — | |
| HWB | hwb(251 8% 12%) | color: hwb(251 8% 12%) | |
| OKLCH | oklch(0.4401 0.2658 274.42) | color: oklch(0.4401 0.2658 274.42) | |
| Lab | lab(31.38 68.71 -91.74) | color: lab(31.38 68.71 -91.74) | |
| LCH | lch(31.38 114.62 306.83) | color: lch(31.38 114.62 306.83) |
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)
#2A2AAF — rgb(42, 42, 175)
Deuteranopia (Green-blind)
#2C2FA3 — rgb(44, 47, 163)
Tritanopia (Blue-blind)
#388880 — rgb(56, 136, 128)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 83%, 48%);
text
color: hsl(251, 83%, 48%);
border
border: 2px solid hsl(251, 83%, 48%);
gradient light
background: linear-gradient(to right, hsl(251, 83%, 68%), hsl(251, 83%, 48%));
gradient dark
background: linear-gradient(to right, hsl(251, 83%, 48%), hsl(251, 83%, 28%))
hex
background-color: #3A15E0;
tailwind
bg-[hsl(251,83%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 83%, 48%, 0.4);
css variable
--color-primary: hsl(251, 83%, 48%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 83%, 48%)?
HEX: #3A15E0 | RGB: rgb(58, 21, 224) | CMYK: 74%, 91%, 0%, 12% | HSV: 251°, 91%, 88%. Copy any format from the conversion table above.
What colors go well with #3A15E0?
The complementary color is HSL(71, 83%, 48%). 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, 83%, 48%) in CSS?
As HSL: color: hsl(251, 83%, 48%); — As HEX: color: #3A15E0; — As RGB: color: rgb(58, 21, 224); — Tailwind CSS: bg-[hsl(251,83%,48%)] — CSS variable: --color-primary: hsl(251, 83%, 48%);