HSL(251, 47%, 58%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,47%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 47%, 58%) | color: hsl(251, 47%, 58%) | |
| HEX | #7462C6 | color: #7462C6 | |
| RGB | rgb(116, 98, 198) | color: rgb(116, 98, 198) | |
| CMYK | cmyk(41%, 51%, 0%, 22%) | — | |
| HSV | hsv(251, 51%, 78%) | — | |
| HWB | hwb(251 38% 22%) | color: hwb(251 38% 22%) | |
| OKLCH | oklch(0.5615 0.1498 288.92) | color: oklch(0.5615 0.1498 288.92) | |
| Lab | lab(47.66 31.5 -49.97) | color: lab(47.66 31.5 -49.97) | |
| LCH | lch(47.66 59.07 302.23) | color: lch(47.66 59.07 302.23) |
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)
#6C6CAE — rgb(108, 108, 174)
Deuteranopia (Green-blind)
#6D6FA8 — rgb(109, 111, 168)
Tritanopia (Blue-blind)
#739B97 — rgb(115, 155, 151)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 47%, 58%);
text
color: hsl(251, 47%, 58%);
border
border: 2px solid hsl(251, 47%, 58%);
gradient light
background: linear-gradient(to right, hsl(251, 47%, 78%), hsl(251, 47%, 58%));
gradient dark
background: linear-gradient(to right, hsl(251, 47%, 58%), hsl(251, 47%, 38%))
hex
background-color: #7462C6;
tailwind
bg-[hsl(251,47%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 47%, 58%, 0.4);
css variable
--color-primary: hsl(251, 47%, 58%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 47%, 58%)?
HEX: #7462C6 | RGB: rgb(116, 98, 198) | CMYK: 41%, 51%, 0%, 22% | HSV: 251°, 51%, 78%. Copy any format from the conversion table above.
What colors go well with #7462C6?
The complementary color is HSL(71, 47%, 58%). 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, 47%, 58%) in CSS?
As HSL: color: hsl(251, 47%, 58%); — As HEX: color: #7462C6; — As RGB: color: rgb(116, 98, 198); — Tailwind CSS: bg-[hsl(251,47%,58%)] — CSS variable: --color-primary: hsl(251, 47%, 58%);